Java, Eclipse Collections, Open Source, Programming, Software Development.
equality for a Set. @Test public void setEquality() { MutableSet<Fruit> set = Sets.mutable.of(Fruit.BANANA, Fruit.APPLE, Fruit.CHERRY); // Equality of Set is based on Type, Size and Contents. // Set allows unique elements only. // Order DOES NOT impact the equality of a Set Assertions.assertEquals(