| java.lang.Object com.tc.test.collections.CollectionComparer
All known Subclasses: com.tc.test.collections.UnorderedCollectionComparer, com.tc.test.collections.OrderedCollectionComparer,
CollectionComparer | abstract public class CollectionComparer (Code) | | An object that knows how to compare collections of objects for equality. Unlike using the simple
Collection.equals(Object) method, this class (or subclasses) can compare collections under various
constraints (e.g., must be the same, but without regard to order; must have the same objects, but number of
repetitions of those objects is irrelevant; etc.). Also, this class reports mismatches between collections in a
uniform, object-oriented way, such that they can be easily printed out, compared themselves, and so on.
|
isEqual | final protected boolean isEqual(Object firstObject, boolean firstIsOne, Object secondObject, boolean secondIsOne, int oneIndex, int twoIndex)(Code) | | |
|
|