public DirectoryEntry findSubDir(long id) {
    for (DirectoryEntry directoryEntry : mySubDirs) {
      if (directoryEntry.getIdOrName() == id) {
        return directoryEntry;
      }
    }
    return null;
  }
public DirectoryEntry findSubDir(long id)