E - the type of the element (must implement Comparable)public class ImmutableArraySet<E extends java.lang.Comparable<? super E>>
extends java.util.AbstractSet<E>
| Constructor and Description |
|---|
ImmutableArraySet(java.util.Set<E> elements) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.Iterator<E> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ImmutableArraySet(java.util.Set<E> elements)
public java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E extends java.lang.Comparable<? super E>>iterator in interface java.util.Collection<E extends java.lang.Comparable<? super E>>iterator in interface java.util.Set<E extends java.lang.Comparable<? super E>>iterator in class java.util.AbstractCollection<E extends java.lang.Comparable<? super E>>public int size()
public boolean equals(java.lang.Object o)
public int hashCode()