|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfreerails.world.common.ImSet<E>
public final class ImSet<E extends FreerailsSerializable>
An immutable set.
| Field Summary | |
|---|---|
private java.util.HashSet<E> |
hashSet
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
ImSet(java.util.Set<E> data)
|
|
| Method Summary | |
|---|---|
boolean |
contains(E element)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final java.util.HashSet<E extends FreerailsSerializable> hashSet
| Constructor Detail |
|---|
public ImSet(java.util.Set<E> data)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean contains(E element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||