Class IdentityHashSet<T>

  • Type Parameters:
    T - a type
    All Implemented Interfaces:
    Iterable<T>, Collection<T>, Set<T>

    public class IdentityHashSet<T>
    extends Object
    implements Set<T>
    This class implements the Set interface with a hash table, using reference-equality in place of object-equality when comparing keys and values.
    See Also:
    Bug issue #4479578