Package gw.util
Class IdentitySet<T>
- java.lang.Object
-
- gw.util.IdentitySet<T>
-
-
Constructor Summary
Constructors Constructor Description IdentitySet(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T o)voidaddAll(Collection<? extends T> c)voidclear()booleancontains(T o)booleanisEmpty()Iterator<T>iterator()voidremove(T o)intsize()T[]toArray(T[] array)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
contains
public boolean contains(T o)
-
add
public void add(T o)
-
remove
public void remove(T o)
-
addAll
public void addAll(Collection<? extends T> c)
-
clear
public void clear()
-
-