Entry findDirectChild(String name, boolean isDirectory) {
    int nameHash = calcNameHash(name);

    for (Entry child : getChildren()) {
      if (child.isDirectory() == isDirectory && nameHash == child.getNameHash() && child.nameEquals(name)) {
        return child;
      }
    }
    return null;
  }
Entry findDirectChild(String name, boolean isDirectory)