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 void
add(T o)
void
addAll(Collection<? extends T> c)
void
clear()
boolean
contains(T o)
boolean
isEmpty()
Iterator<T>
iterator()
void
remove(T o)
int
size()
T[]
toArray(T[] array)
String
toString()
-
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()
-
-