boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; OffsetNavigationItem item = (OffsetNavigationItem)o; return myFile.equals(item.myFile) && myValue.equals(item.myValue); }