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