类 IdentitySet

  • 所有已实现的接口:
    Iterable, Collection, Set

    public class IdentitySet
    extends Object
    implements Set
    Set implementation that use == instead of equals() as its comparison mechanism. This is achieved by internally using an IdentityHashMap.
    作者:
    Emmanuel Bernard