MutableBooleanSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
BooleanIterator, as per Collections#synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableBooleanSet#asSynchronized(), MutableSet#asSynchronized()
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SynchronizedBooleanSet | back to summary |
|---|---|
| public SynchronizedBooleanSet(MutableBooleanSet set) | |
| SynchronizedBooleanSet | back to summary |
|---|---|
| public SynchronizedBooleanSet(MutableBooleanSet set, Object newLock) | |
| asLazy | back to summary |
|---|---|
| public LazyBooleanIterable asLazy() Implements org. Doc from org. Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.
| |
| asSynchronized | back to summary |
|---|---|
| public MutableBooleanSet asSynchronized() Implements org.
| |
| asUnmodifiable | back to summary |
|---|---|
| public MutableBooleanSet asUnmodifiable() Implements org.
| |
| boxed | back to summary |
|---|---|
| public MutableSet Implements org.
| |
| cartesianProduct | back to summary |
|---|---|
| public LazyIterable Implements org. Doc from org. Returns the set whose members are all possible ordered pairs (a, b) where a is a member of
| |
| collect | back to summary |
|---|---|
| public <V> MutableSet Implements org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherSet) Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| freeze | back to summary |
|---|---|
| public BooleanSet freeze() Implements org. Doc from org. Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees. | |
| getMutableBooleanSet | back to summary |
|---|---|
| private MutableBooleanSet getMutableBooleanSet() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| newEmpty | back to summary |
|---|---|
| public MutableBooleanSet newEmpty() Overrides default org. Doc from org. Creates a new empty mutable version of the same Set type.
| |
| of | back to summary |
|---|---|
| public static SynchronizedBooleanSet of(MutableBooleanSet set) This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet. | |
| of | back to summary |
|---|---|
| public static SynchronizedBooleanSet of(MutableBooleanSet set, Object lock) This method will take a MutableBooleanSet and wrap it directly in a SynchronizedBooleanSet. Additionally, a developer specifies which lock to use with the collection. | |
| reject | back to summary |
|---|---|
| public MutableBooleanSet reject(BooleanPredicate predicate) Implements org. Doc from org. Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public MutableBooleanSet select(BooleanPredicate predicate) Implements org. Doc from org. Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableBooleanSet toImmutable() Implements org. Doc from org. Returns an immutable copy of this set.
| |
| with | back to summary |
|---|---|
| public SynchronizedBooleanSet with(boolean element) Overrides org. Implements org.
| |
| withAll | back to summary |
|---|---|
| public SynchronizedBooleanSet withAll(BooleanIterable elements) Implements org.
| |
| without | back to summary |
|---|---|
| public SynchronizedBooleanSet without(boolean element) Implements org.
| |
| withoutAll | back to summary |
|---|---|
| public SynchronizedBooleanSet withoutAll(BooleanIterable elements) Implements org.
| |