|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Set<E>
Set defines the interface for a unique set of values as defined by Object.equals(Object).
| Method Summary | |
|---|---|
Set<E> |
add(E value)
Returns a set that adds the specified value if it doesn't already exist in this set. |
Set<E> |
asSet()
Returns an immutable view of this set as an instance of java.util.Set. |
boolean |
contains(E value)
Returns true if the value exists in this set. |
Set<E> |
remove(E value)
Removes the specified value from the set if it exists. |
| Methods inherited from interface com.github.andrewoma.dexx.collection.Iterable |
|---|
iterator |
| Methods inherited from interface com.github.andrewoma.dexx.collection.Traversable |
|---|
forEach, isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet |
| Method Detail |
|---|
@NotNull Set<E> add(E value)
@NotNull Set<E> remove(E value)
boolean contains(E value)
@NotNull Set<E> asSet()
java.util.Set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||