E - the type of element in this setpublic interface PersistentSet<E>
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
asSet()
An immutable view of this as a
java.util.Set. |
boolean |
contains(E e) |
static <T> PersistentSet<T> |
empty() |
PersistentSet<E> |
minus(E e) |
PersistentSet<E> |
plus(E e) |
Stream<E> |
stream() |
static <T> PersistentSet<T> empty()
PersistentSet<E> plus(E e)
e - an elementePersistentSet<E> minus(E e)
e - an elementeboolean contains(E e)
e - an elementeLicenced under the Apache License, Version 2.0