@ThreadSafe public final class SynchronizedShortSet extends AbstractSynchronizedShortCollection implements org.eclipse.collections.api.set.primitive.MutableShortSet
MutableShortSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
ShortIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableShortSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.LazyShortIterable |
asLazy() |
org.eclipse.collections.api.set.primitive.MutableShortSet |
asSynchronized() |
org.eclipse.collections.api.set.primitive.MutableShortSet |
asUnmodifiable() |
<V> org.eclipse.collections.api.set.MutableSet<V> |
collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
org.eclipse.collections.api.set.primitive.ShortSet |
freeze() |
int |
hashCode() |
static SynchronizedShortSet |
of(org.eclipse.collections.api.set.primitive.MutableShortSet set)
This method will take a MutableShortSet and wrap it directly in a SynchronizedShortSet.
|
static SynchronizedShortSet |
of(org.eclipse.collections.api.set.primitive.MutableShortSet set,
Object lock)
This method will take a MutableShortSet and wrap it directly in a SynchronizedShortSet.
|
org.eclipse.collections.api.set.primitive.MutableShortSet |
reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
org.eclipse.collections.api.set.primitive.MutableShortSet |
select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
org.eclipse.collections.api.set.primitive.ImmutableShortSet |
toImmutable() |
SynchronizedShortSet |
with(short element) |
SynchronizedShortSet |
withAll(org.eclipse.collections.api.ShortIterable elements) |
SynchronizedShortSet |
without(short element) |
SynchronizedShortSet |
withoutAll(org.eclipse.collections.api.ShortIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, shortIterator, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringadd, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAll, shortIteratorallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static SynchronizedShortSet of(org.eclipse.collections.api.set.primitive.MutableShortSet set)
public static SynchronizedShortSet of(org.eclipse.collections.api.set.primitive.MutableShortSet set, Object lock)
public SynchronizedShortSet without(short element)
without in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableShortSetwithout in class AbstractSynchronizedShortCollectionpublic SynchronizedShortSet with(short element)
with in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableShortSetwith in class AbstractSynchronizedShortCollectionpublic SynchronizedShortSet withAll(org.eclipse.collections.api.ShortIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithAll in interface org.eclipse.collections.api.set.primitive.MutableShortSetwithAll in class AbstractSynchronizedShortCollectionpublic SynchronizedShortSet withoutAll(org.eclipse.collections.api.ShortIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithoutAll in interface org.eclipse.collections.api.set.primitive.MutableShortSetwithoutAll in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.set.primitive.MutableShortSet select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionselect in interface org.eclipse.collections.api.set.primitive.MutableShortSetselect in interface org.eclipse.collections.api.set.primitive.ShortSetselect in interface org.eclipse.collections.api.ShortIterableselect in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.set.primitive.MutableShortSet reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionreject in interface org.eclipse.collections.api.set.primitive.MutableShortSetreject in interface org.eclipse.collections.api.set.primitive.ShortSetreject in interface org.eclipse.collections.api.ShortIterablereject in class AbstractSynchronizedShortCollectionpublic <V> org.eclipse.collections.api.set.MutableSet<V> collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectioncollect in interface org.eclipse.collections.api.set.primitive.MutableShortSetcollect in interface org.eclipse.collections.api.set.primitive.ShortSetcollect in interface org.eclipse.collections.api.ShortIterablecollect in class AbstractSynchronizedShortCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public org.eclipse.collections.api.LazyShortIterable asLazy()
asLazy in interface org.eclipse.collections.api.ShortIterableasLazy in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.set.primitive.MutableShortSet asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionasUnmodifiable in interface org.eclipse.collections.api.set.primitive.MutableShortSetasUnmodifiable in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.set.primitive.MutableShortSet asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionasSynchronized in interface org.eclipse.collections.api.set.primitive.MutableShortSetasSynchronized in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.set.primitive.ShortSet freeze()
freeze in interface org.eclipse.collections.api.set.primitive.MutableShortSetfreeze in interface org.eclipse.collections.api.set.primitive.ShortSetpublic org.eclipse.collections.api.set.primitive.ImmutableShortSet toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectiontoImmutable in interface org.eclipse.collections.api.set.primitive.MutableShortSettoImmutable in interface org.eclipse.collections.api.set.primitive.ShortSettoImmutable in class AbstractSynchronizedShortCollectionCopyright © 2004–2017. All rights reserved.