java.lang.Object
org.apache.jena.atlas.lib.persistent.PSet<E>
- Type Parameters:
E- the type of element in this set
- All Implemented Interfaces:
PersistentSet<E>
A implementation of
PersistentSet using Set.-
Method Summary
-
Method Details
-
empty
- Returns:
- an empty set
-
plus
- Specified by:
plusin interfacePersistentSet<E>- Parameters:
e- an element- Returns:
- a new set with the elements of this set and
e
-
minus
- Specified by:
minusin interfacePersistentSet<E>- Parameters:
e- an element- Returns:
- a new set with the elements of this set except
e
-
contains
- Specified by:
containsin interfacePersistentSet<E>- Parameters:
e- an element- Returns:
- whether this set contains
e
-
stream
- Specified by:
streamin interfacePersistentSet<E>- Returns:
- a
Streamof the elements in this set
-
asSet
Description copied from interface:PersistentSetAn immutable view of this as ajava.util.Set.- Specified by:
asSetin interfacePersistentSet<E>
-