If the backing map is thread-safe, then this implementation is thread-safe (assuming Java's AbstractSet is thread-safe), although its iterators may not be.
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final PMap | |
| private static final long |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(final Object
element whose presence in this set is to be tested e)Overrides java. Implements java. Returns |
| public static <E> MapPSet | |
| public static <E> MapPSet | |
| public static <E> MapPSet | |
| public MapPSet | |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this set. |
| public MapPSet | |
| public MapPSet | |
| public MapPSet | |
| public MapPSet | |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this set (its cardinality). |
| map | back to summary |
|---|---|
| private final PMap<E, Object> map | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MapPSet | back to summary |
|---|---|
| private MapPSet(final PMap<E, Object> map) | |
| contains | back to summary |
|---|---|
| public boolean contains(final Object e) Overrides java. Implements java. Doc from java. Returns | |
| from | back to summary |
|---|---|
public static <E> MapPSet
| |
| from | back to summary |
|---|---|
public static <E> MapPSet
| |
| from | back to summary |
|---|---|
public static <E> MapPSet
| |
| intersect | back to summary |
|---|---|
| public MapPSet Overrides default org.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee). | |
| minus | back to summary |
|---|---|
| public MapPSet Implements org.
| |
| minusAll | back to summary |
|---|---|
| public MapPSet Implements org.
| |
| plus | back to summary |
|---|---|
| public MapPSet Implements org.
| |
| plusAll | back to summary |
|---|---|
| public MapPSet Implements org.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MapPSet. | |
| public static MapPSet. |
| IN | back to summary |
|---|---|
| public static final MapPSet. | |
| In | back to summary |
|---|---|
| private In() | |
| valueOf | back to summary |
|---|---|
| public static MapPSet. | |
| values | back to summary |
|---|---|
| public static MapPSet. | |