MutableCharSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
CharIterator, as per Collections#synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableCharSet#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 | |
| SynchronizedCharSet | back to summary |
|---|---|
| public SynchronizedCharSet(MutableCharSet set) | |
| SynchronizedCharSet | back to summary |
|---|---|
| public SynchronizedCharSet(MutableCharSet set, Object newLock) | |
| asLazy | back to summary |
|---|---|
| public LazyCharIterable asLazy() Overrides org. Implements org. Doc from org. Returns a LazyCharIterable adapter wrapping the source CharIterable.
| |
| asSynchronized | back to summary |
|---|---|
| public MutableCharSet asSynchronized() Implements org.
| |
| asUnmodifiable | back to summary |
|---|---|
| public MutableCharSet 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 Overrides org. 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 CharSet 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. | |
| getMutableCharSet | back to summary |
|---|---|
| private MutableCharSet getMutableCharSet() | |
| 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 MutableCharSet newEmpty() Overrides default org. Doc from org. Creates a new empty mutable version of the same Set type.
| |
| of | back to summary |
|---|---|
| public static SynchronizedCharSet of(MutableCharSet set) This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet. | |
| of | back to summary |
|---|---|
| public static SynchronizedCharSet of(MutableCharSet set, Object lock) This method will take a MutableCharSet and wrap it directly in a SynchronizedCharSet. Additionally, a developer specifies which lock to use with the collection. | |
| reject | back to summary |
|---|---|
| public MutableCharSet reject(CharPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public MutableCharSet select(CharPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableCharSet toImmutable() Implements org. Doc from org. Returns an immutable copy of this set.
| |
| with | back to summary |
|---|---|
| public SynchronizedCharSet with(char element) Overrides org. Implements org.
| |
| withAll | back to summary |
|---|---|
| public SynchronizedCharSet withAll(CharIterable elements) Overrides org. Implements org.
| |
| without | back to summary |
|---|---|
| public SynchronizedCharSet without(char element) Overrides org. Implements org.
| |
| withoutAll | back to summary |
|---|---|
| public SynchronizedCharSet withoutAll(CharIterable elements) Implements org.
| |