### Question:
ObjectSet implements /*Serializable,*/ Iterable<Long> { public boolean equals(Object obj) { if (obj instanceof ObjectSet) { ObjectSet otherSet = (ObjectSet) obj; return stripeWidth == otherSet.stripeWidth && firstObjectNo == otherSet.firstObjectNo && objects.equals(otherSet.objects); } else return false; } ObjectSet();  ObjectSet(int initialSize);  ObjectSet(int stripeWidth, int firstObjectNo);  ObjectSet(int stripeWidth, int firstObjectNo, int initialSize);  ObjectSet(int stripeWidth, int firstObjectNo, byte[] serializedBitSet);  ObjectSet(ObjectSet objectSet); boolean add(Long object); boolean contains(Long object); Long getFirst(); Long getRandom(); Iterator<Long> iterator(); boolean remove(Long object); boolean isEmpty(); int size(); void clear(); boolean equals(Object obj); boolean intersection(ObjectSet otherSet); boolean union(ObjectSet otherSet); boolean complement(int lastObject); @Override String toString(); @Override ObjectSet clone(); int getStripeWidth(); int getFirstObjectNo(); byte[] getSerializedBitSet(); static final int DEFAULT_INITIAL_SIZE; }### Answer:
@Test public void testEquals() throws Exception { for (ObjectSet set : changeableSets) fillObjectSetRandom(set, 100, 100); for (ObjectSet set : fixedSets) fillObjectSetRandom(set, 100, 100); for (ObjectSet set : changeableSets) { for (ObjectSet set2 : fixedSets) { assertTrue(set.equals(set2)); } } ObjectSet falseSet = new ObjectSet(2, 0, 10); fillObjectSetRandom(falseSet, 20, 20); assertFalse(falseSet.equals(changeableSets.get(0))); }