com.planet_ink.coffee_mud.core.collections
Class SHashSet<K>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.SHashSet<K>
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>

public class SHashSet<K>
extends java.lang.Object
implements java.io.Serializable, java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>

See Also:
Serialized Form

Constructor Summary
SHashSet()
           
SHashSet(java.util.Enumeration<K> V)
           
SHashSet(int x)
           
SHashSet(java.util.Iterator<K> V)
           
SHashSet(K... V)
           
SHashSet(java.util.List<K> V)
           
SHashSet(java.util.Set<K> E)
           
 
Method Summary
 boolean add(K e)
           
 boolean addAll(java.util.Collection<? extends K> c)
           
 void addAll(java.util.Enumeration<K> E)
           
 void addAll(java.util.Iterator<K> E)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> arg0)
           
 SHashSet<K> copyOf()
           
 boolean equals(java.lang.Object arg0)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Iterator<K> iterator()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> arg0)
           
 void removeAll(java.util.Enumeration<K> E)
           
 void removeAll(java.util.Iterator<K> E)
           
 void removeAll(java.util.List<K> E)
           
 boolean retainAll(java.util.Collection<?> arg0)
           
 int size()
           
 java.lang.Object[] toArray()
           
<T> T[]
toArray(T[] arg0)
           
 java.util.HashSet<K> toHashSet()
           
 java.lang.String toString()
           
 java.util.Vector<K> toVector()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SHashSet

public SHashSet()

SHashSet

public SHashSet(int x)

SHashSet

public SHashSet(java.util.List<K> V)

SHashSet

public SHashSet(K... V)

SHashSet

public SHashSet(java.util.Enumeration<K> V)

SHashSet

public SHashSet(java.util.Iterator<K> V)

SHashSet

public SHashSet(java.util.Set<K> E)
Method Detail

addAll

public void addAll(java.util.Enumeration<K> E)

addAll

public void addAll(java.util.Iterator<K> E)

removeAll

public void removeAll(java.util.Enumeration<K> E)

removeAll

public void removeAll(java.util.Iterator<K> E)

removeAll

public void removeAll(java.util.List<K> E)

toHashSet

public java.util.HashSet<K> toHashSet()

toVector

public java.util.Vector<K> toVector()

add

public boolean add(K e)
Specified by:
add in interface java.util.Collection<K>
Specified by:
add in interface java.util.Set<K>

addAll

public boolean addAll(java.util.Collection<? extends K> c)
Specified by:
addAll in interface java.util.Collection<K>
Specified by:
addAll in interface java.util.Set<K>

clear

public void clear()
Specified by:
clear in interface java.util.Collection<K>
Specified by:
clear in interface java.util.Set<K>

copyOf

public SHashSet<K> copyOf()

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection<K>
Specified by:
contains in interface java.util.Set<K>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<K>
Specified by:
isEmpty in interface java.util.Set<K>

iterator

public java.util.Iterator<K> iterator()
Specified by:
iterator in interface java.lang.Iterable<K>
Specified by:
iterator in interface java.util.Collection<K>
Specified by:
iterator in interface java.util.Set<K>

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection<K>
Specified by:
remove in interface java.util.Set<K>

size

public int size()
Specified by:
size in interface java.util.Collection<K>
Specified by:
size in interface java.util.Set<K>

equals

public boolean equals(java.lang.Object arg0)
Specified by:
equals in interface java.util.Collection<K>
Specified by:
equals in interface java.util.Set<K>
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection<K>
Specified by:
hashCode in interface java.util.Set<K>
Overrides:
hashCode in class java.lang.Object

removeAll

public boolean removeAll(java.util.Collection<?> arg0)
Specified by:
removeAll in interface java.util.Collection<K>
Specified by:
removeAll in interface java.util.Set<K>

containsAll

public boolean containsAll(java.util.Collection<?> arg0)
Specified by:
containsAll in interface java.util.Collection<K>
Specified by:
containsAll in interface java.util.Set<K>

retainAll

public boolean retainAll(java.util.Collection<?> arg0)
Specified by:
retainAll in interface java.util.Collection<K>
Specified by:
retainAll in interface java.util.Set<K>

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection<K>
Specified by:
toArray in interface java.util.Set<K>

toArray

public <T> T[] toArray(T[] arg0)
Specified by:
toArray in interface java.util.Collection<K>
Specified by:
toArray in interface java.util.Set<K>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object