public class


extends Object
implements Set<E>
   ↳ com.pnfsoftware.jeb.util.collect.IdentityHashSet<E>

Class Overview

The set version of an IdentityHashMap. Concurrency friendly.


Public Constructors
IdentityHashSet(int expectedMaxSize)
IdentityHashSet(Collection<? extends E> c)
Public Methods
boolean add(E e)
boolean addAll(Collection<? extends E> c)
void clear()
boolean contains(Object o)
boolean containsAll(Collection<?> c)
boolean equals(Object o)
int hashCode()
boolean isEmpty()
Iterator<E> iterator()
boolean remove(Object o)
boolean removeAll(Collection<?> c)
boolean retainAll(Collection<?> c)
Semantics is changed.
int size()
<T> T[] toArray(T[] a)
Object[] toArray()
String toString()
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set

Public Constructors

public IdentityHashSet ()

public IdentityHashSet (int expectedMaxSize)

public IdentityHashSet (Collection<? extends E> c)

Public Methods

public boolean add (E e)

public boolean addAll (Collection<? extends E> c)

public void clear ()

public boolean contains (Object o)

public boolean containsAll (Collection<?> c)

public boolean equals (Object o)

public int hashCode ()

public boolean isEmpty ()

public Iterator<E> iterator ()

public boolean remove (Object o)

public boolean removeAll (Collection<?> c)

public boolean retainAll (Collection<?> c)

Semantics is changed.

public int size ()

public T[] toArray (T[] a)

public Object[] toArray ()

public String toString ()