public class SynchronizedShortSet extends AbstractSynchronizedShortCollection implements 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| Constructor and Description |
|---|
SynchronizedShortSet(MutableShortSet set) |
SynchronizedShortSet(MutableShortSet set,
Object newLock) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, shortIterator, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringdifference, intersect, symmetricDifference, tap, unionadd, addAll, addAll, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAll, shortIteratorisProperSubsetOf, isSubsetOfallSatisfy, anySatisfy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic SynchronizedShortSet(MutableShortSet set)
public SynchronizedShortSet(MutableShortSet set, Object newLock)
public static SynchronizedShortSet of(MutableShortSet set)
public static SynchronizedShortSet of(MutableShortSet set, Object lock)
public SynchronizedShortSet without(short element)
without in interface MutableShortCollectionwithout in interface MutableShortSetwithout in class AbstractSynchronizedShortCollectionpublic SynchronizedShortSet with(short element)
with in interface MutableShortCollectionwith in interface MutableShortSetwith in class AbstractSynchronizedShortCollectionpublic SynchronizedShortSet withAll(ShortIterable elements)
withAll in interface MutableShortCollectionwithAll in interface MutableShortSetwithAll in class AbstractSynchronizedShortCollectionpublic SynchronizedShortSet withoutAll(ShortIterable elements)
withoutAll in interface MutableShortCollectionwithoutAll in interface MutableShortSetwithoutAll in class AbstractSynchronizedShortCollectionpublic MutableShortSet select(ShortPredicate predicate)
select in interface MutableShortCollectionselect in interface MutableShortSetselect in interface ShortSetselect in interface ShortIterableselect in class AbstractSynchronizedShortCollectionpublic MutableShortSet reject(ShortPredicate predicate)
reject in interface MutableShortCollectionreject in interface MutableShortSetreject in interface ShortSetreject in interface ShortIterablereject in class AbstractSynchronizedShortCollectionpublic <V> MutableSet<V> collect(ShortToObjectFunction<? extends V> function)
collect in interface MutableShortCollectioncollect in interface MutableShortSetcollect in interface ShortSetcollect in interface ShortIterablecollect in class AbstractSynchronizedShortCollectionpublic LazyIterable<ShortShortPair> cartesianProduct(ShortSet set)
cartesianProduct in interface ShortSetpublic boolean equals(Object otherSet)
public int hashCode()
public LazyShortIterable asLazy()
asLazy in interface ShortIterableasLazy in class AbstractSynchronizedShortCollectionpublic MutableShortSet asUnmodifiable()
asUnmodifiable in interface MutableShortCollectionasUnmodifiable in interface MutableShortSetasUnmodifiable in class AbstractSynchronizedShortCollectionpublic MutableShortSet asSynchronized()
asSynchronized in interface MutableShortCollectionasSynchronized in interface MutableShortSetasSynchronized in class AbstractSynchronizedShortCollectionpublic ShortSet freeze()
freeze in interface MutableShortSetfreeze in interface ShortSetpublic ImmutableShortSet toImmutable()
toImmutable in interface MutableShortCollectiontoImmutable in interface MutableShortSettoImmutable in interface ShortSettoImmutable in class AbstractSynchronizedShortCollectionpublic MutableShortSet newEmpty()
newEmpty in interface MutableShortCollectionnewEmpty in interface MutableShortSetCopyright © 2004–2022. All rights reserved.