Class IdentitySet<E>

  • All Implemented Interfaces:
    Iterable<E>, Collection<E>, Set<E>

    public class IdentitySet<E>
    extends Object
    implements Set<E>
    Set implementation that use == instead of equals() as its comparison mechanism. This is achieved by internally using an IdentityHashMap.