public static final class ImmutableSet.JavaBasedImmutableSet<E> extends java.lang.Object implements ImmutableSet<E>, java.io.Serializable
ImmutableSet.JavaBasedImmutableSet<E>Sequence.µ| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<E> |
append(E element) |
ImmutableSet<E> |
appendAll(Sequence<E> other) |
boolean |
contains(E element) |
ImmutableSet<E> |
difference(ImmutableSet<E> other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
ImmutableSet<E> |
intersection(ImmutableSet<E> other) |
java.util.Iterator<E> |
iterator() |
ImmutableSet<E> |
remove(E element) |
ImmutableSet<E> |
removeAll(Sequence<E> other) |
ImmutableSet<E> |
reverse() |
int |
size() |
java.util.Set<E> |
toSet() |
java.lang.String |
toString() |
ImmutableSet<E> |
union(ImmutableSet<E> other) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, filter, flatMap, from, from, map, ofpublic ImmutableSet<E> reverse()
public ImmutableSet<E> append(E element)
public ImmutableSet<E> appendAll(Sequence<E> other)
public ImmutableSet<E> removeAll(Sequence<E> other)
public ImmutableSet<E> remove(E element)
public ImmutableSet<E> union(ImmutableSet<E> other)
union in interface ImmutableSet<E>public ImmutableSet<E> intersection(ImmutableSet<E> other)
intersection in interface ImmutableSet<E>public ImmutableSet<E> difference(ImmutableSet<E> other)
difference in interface ImmutableSet<E>public java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E>public java.util.Set<E> toSet()
toSet in interface ImmutableSet<E>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object