@Test public void isRoot() throws Exception { assertTrue(new FolderPath().isRoot()); }
public boolean isRoot() { return path.length == 0; }
FolderPath { public boolean isRoot() { return path.length == 0; } }
FolderPath { public boolean isRoot() { return path.length == 0; } FolderPath(String... path);  FolderPath(FolderPath parent, String... path); }
FolderPath { public boolean isRoot() { return path.length == 0; } FolderPath(String... path);  FolderPath(FolderPath parent, String... path); FolderPath getParent(); boolean isRoot(); String getName(); void setName(String newName); String serializeAsString(); static FolderPath deserializeFromString(String pathAsString); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
FolderPath { public boolean isRoot() { return path.length == 0; } FolderPath(String... path);  FolderPath(FolderPath parent, String... path); FolderPath getParent(); boolean isRoot(); String getName(); void setName(String newName); String serializeAsString(); static FolderPath deserializeFromString(String pathAsString); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }