public synchronized static RegisteredSnapshotCategories sharedInstance(){
  if (sharedInstance == null)   sharedInstance=new RegisteredSnapshotCategories();
  return sharedInstance;
}

public synchronized static RegisteredSnapshotCategories sharedInstance ( ) { if ( sharedInstance == null ) sharedInstance = new RegisteredSnapshotCategories ( ) ; return sharedInstance ; }
returns singleton instance of registeredsnapshotcategories .
