public class UnmodifiableShortSet extends AbstractUnmodifiableShortCollection implements MutableShortSet
| Constructor and Description |
|---|
UnmodifiableShortSet(MutableShortSet set) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortSet |
asSynchronized() |
MutableShortSet |
asUnmodifiable() |
LazyIterable<ShortShortPair> |
cartesianProduct(ShortSet set) |
<V> MutableSet<V> |
collect(ShortToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
ShortSet |
freeze() |
int |
hashCode() |
MutableShortSet |
newEmpty() |
static UnmodifiableShortSet |
of(MutableShortSet set)
This method will take a MutableShortSet and wrap it directly in a UnmodifiableShortSet.
|
MutableShortSet |
reject(ShortPredicate predicate) |
MutableShortSet |
select(ShortPredicate predicate) |
ImmutableShortSet |
toImmutable() |
UnmodifiableShortSet |
with(short element) |
UnmodifiableShortSet |
withAll(ShortIterable elements) |
UnmodifiableShortSet |
without(short element) |
UnmodifiableShortSet |
withoutAll(ShortIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, 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 UnmodifiableShortSet(MutableShortSet set)
public static UnmodifiableShortSet of(MutableShortSet set)
public UnmodifiableShortSet with(short element)
with in interface MutableShortCollectionwith in interface MutableShortSetwith in class AbstractUnmodifiableShortCollectionpublic UnmodifiableShortSet without(short element)
without in interface MutableShortCollectionwithout in interface MutableShortSetwithout in class AbstractUnmodifiableShortCollectionpublic UnmodifiableShortSet withAll(ShortIterable elements)
withAll in interface MutableShortCollectionwithAll in interface MutableShortSetwithAll in class AbstractUnmodifiableShortCollectionpublic UnmodifiableShortSet withoutAll(ShortIterable elements)
withoutAll in interface MutableShortCollectionwithoutAll in interface MutableShortSetwithoutAll in class AbstractUnmodifiableShortCollectionpublic MutableShortSet select(ShortPredicate predicate)
select in interface MutableShortCollectionselect in interface MutableShortSetselect in interface ShortSetselect in interface ShortIterableselect in class AbstractUnmodifiableShortCollectionpublic MutableShortSet reject(ShortPredicate predicate)
reject in interface MutableShortCollectionreject in interface MutableShortSetreject in interface ShortSetreject in interface ShortIterablereject in class AbstractUnmodifiableShortCollectionpublic <V> MutableSet<V> collect(ShortToObjectFunction<? extends V> function)
collect in interface MutableShortCollectioncollect in interface MutableShortSetcollect in interface ShortSetcollect in interface ShortIterablecollect in class AbstractUnmodifiableShortCollectionpublic LazyIterable<ShortShortPair> cartesianProduct(ShortSet set)
cartesianProduct in interface ShortSetpublic boolean equals(Object otherSet)
public int hashCode()
public MutableShortSet asUnmodifiable()
asUnmodifiable in interface MutableShortCollectionasUnmodifiable in interface MutableShortSetasUnmodifiable in class AbstractUnmodifiableShortCollectionpublic MutableShortSet asSynchronized()
asSynchronized in interface MutableShortCollectionasSynchronized in interface MutableShortSetasSynchronized in class AbstractUnmodifiableShortCollectionpublic ShortSet freeze()
freeze in interface MutableShortSetfreeze in interface ShortSetpublic ImmutableShortSet toImmutable()
toImmutable in interface MutableShortCollectiontoImmutable in interface MutableShortSettoImmutable in interface ShortSettoImmutable in class AbstractUnmodifiableShortCollectionpublic MutableShortSet newEmpty()
newEmpty in interface MutableShortCollectionnewEmpty in interface MutableShortSetCopyright © 2004–2022. All rights reserved.