@NotThreadSafe public final class UnmodifiableShortSet extends AbstractUnmodifiableShortCollection implements org.eclipse.collections.api.set.primitive.MutableShortSet
| Modifier and Type | Method and Description |
|---|---|
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 UnmodifiableShortSet |
of(org.eclipse.collections.api.set.primitive.MutableShortSet set)
This method will take a MutableShortSet and wrap it directly in a UnmodifiableShortSet.
|
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() |
UnmodifiableShortSet |
with(short element) |
UnmodifiableShortSet |
withAll(org.eclipse.collections.api.ShortIterable elements) |
UnmodifiableShortSet |
without(short element) |
UnmodifiableShortSet |
withoutAll(org.eclipse.collections.api.ShortIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static UnmodifiableShortSet of(org.eclipse.collections.api.set.primitive.MutableShortSet set)
public UnmodifiableShortSet with(short element)
with in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableShortSetwith in class AbstractUnmodifiableShortCollectionpublic UnmodifiableShortSet without(short element)
without in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableShortSetwithout in class AbstractUnmodifiableShortCollectionpublic UnmodifiableShortSet 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 AbstractUnmodifiableShortCollectionpublic UnmodifiableShortSet 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 AbstractUnmodifiableShortCollectionpublic 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 AbstractUnmodifiableShortCollectionpublic 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 AbstractUnmodifiableShortCollectionpublic <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 AbstractUnmodifiableShortCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public 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 AbstractUnmodifiableShortCollectionpublic 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 AbstractUnmodifiableShortCollectionpublic 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 AbstractUnmodifiableShortCollectionCopyright © 2004–2018. All rights reserved.