protected static class SetFactory.Entry<T>
extends java.lang.Object
implements java.io.Serializable, java.util.Set<T>
| Modifier and Type | Class and Description |
|---|---|
protected class |
SetFactory.Entry.EntryIterator |
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_hashCode |
protected SetFactory.Entry<T> |
m_nextEntry |
protected boolean |
m_permanent |
protected SetFactory.Entry<T> |
m_previousEntry |
protected int |
m_referenceCount |
protected T[] |
m_table |
| Constructor and Description |
|---|
SetFactory.Entry(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T object) |
boolean |
addAll(java.util.Collection<? extends T> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object that) |
boolean |
equalsTo(java.util.List<T> elements) |
int |
hashCode() |
void |
initialize(java.util.List<T> elements,
int hashCode) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<E> E[] |
toArray(E[] a) |
protected T[] m_table
protected int m_hashCode
protected SetFactory.Entry<T> m_previousEntry
protected SetFactory.Entry<T> m_nextEntry
protected int m_referenceCount
protected boolean m_permanent
public void initialize(java.util.List<T> elements, int hashCode)
public void clear()
public boolean add(T object)
public boolean equalsTo(java.util.List<T> elements)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean isEmpty()
public java.util.Iterator<T> iterator()
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public int size()
public java.lang.Object[] toArray()
public <E> E[] toArray(E[] a)
public int hashCode()