boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LightFilePath path = (LightFilePath)o; return myRoot.getPath().equals(path.myRoot.getPath()) && myRelativePath.equals(path.myRelativePath); }