MutableShortCollection
, PrimitiveIterable
, ShortIterable
, ShortSet
AbstractMutableShortKeySet
, ShortHashSet
, SynchronizedShortSet
, UnmodifiableShortSet
public interface MutableShortSet extends MutableShortCollection, ShortSet
Modifier and Type | Method | Description |
---|---|---|
MutableShortSet |
asSynchronized() |
|
MutableShortSet |
asUnmodifiable() |
|
<V> MutableSet<V> |
collect(ShortToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ShortSet |
freeze() |
Returns a frozen copy of this set.
|
default MutableShortSet |
newEmpty() |
Creates a new empty mutable version of the same Set type.
|
MutableShortSet |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
MutableShortSet |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
default MutableShortSet |
tap(ShortProcedure procedure) |
|
ImmutableShortSet |
toImmutable() |
Returns an immutable copy of this set.
|
MutableShortSet |
with(short element) |
|
MutableShortSet |
withAll(ShortIterable elements) |
|
MutableShortSet |
without(short element) |
|
MutableShortSet |
withoutAll(ShortIterable elements) |
add, addAll, addAll, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAll, shortIterator
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
MutableShortSet select(ShortPredicate predicate)
ShortIterable
select
in interface MutableShortCollection
select
in interface ShortIterable
select
in interface ShortSet
MutableShortSet reject(ShortPredicate predicate)
ShortIterable
reject
in interface MutableShortCollection
reject
in interface ShortIterable
reject
in interface ShortSet
default MutableShortSet tap(ShortProcedure procedure)
tap
in interface MutableShortCollection
tap
in interface ShortIterable
tap
in interface ShortSet
<V> MutableSet<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterable
collect
in interface MutableShortCollection
collect
in interface ShortIterable
collect
in interface ShortSet
MutableShortSet with(short element)
with
in interface MutableShortCollection
MutableShortSet without(short element)
without
in interface MutableShortCollection
MutableShortSet withAll(ShortIterable elements)
withAll
in interface MutableShortCollection
MutableShortSet withoutAll(ShortIterable elements)
withoutAll
in interface MutableShortCollection
MutableShortSet asUnmodifiable()
asUnmodifiable
in interface MutableShortCollection
MutableShortSet asSynchronized()
asSynchronized
in interface MutableShortCollection
ShortSet freeze()
ImmutableShortSet toImmutable()
toImmutable
in interface MutableShortCollection
toImmutable
in interface ShortSet
default MutableShortSet newEmpty()
newEmpty
in interface MutableShortCollection
Copyright © 2004–2018. All rights reserved.