jfreerails.world.common
Class ImHashSet<E extends FreerailsSerializable>

java.lang.Object
  extended by jfreerails.world.common.ImHashSet<E>
All Implemented Interfaces:
java.io.Serializable, FreerailsSerializable

public class ImHashSet<E extends FreerailsSerializable>
extends java.lang.Object
implements FreerailsSerializable

See Also:
Serialized Form

Field Summary
private  java.util.HashSet<E> hashSet
           
private static long serialVersionUID
           
 
Constructor Summary
ImHashSet(E... values)
           
ImHashSet(java.util.HashSet<E> hashSet)
           
ImHashSet(java.util.List<E> values)
           
 
Method Summary
 boolean contains(E e)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.util.Iterator<E> iterator()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

hashSet

private final java.util.HashSet<E extends FreerailsSerializable> hashSet
Constructor Detail

ImHashSet

public ImHashSet(java.util.HashSet<E> hashSet)

ImHashSet

public ImHashSet(E... values)

ImHashSet

public ImHashSet(java.util.List<E> values)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

contains

public boolean contains(E e)

iterator

public java.util.Iterator<E> iterator()