boolean (Object obj) { if (!(obj instanceof PackageEntryTable other)) { return false; } if (other.myEntries.size() != myEntries.size()) { return false; } for (int i = 0; i < myEntries.size(); i++) { PackageEntry entry = myEntries.get(i); PackageEntry otherentry = other.myEntries.get(i); if (!Comparing.equal(entry, otherentry)) { return false; } } return true; }