public interface MutableShortCollection extends ShortIterable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(short element) |
boolean |
addAll(short... source) |
boolean |
addAll(ShortIterable source) |
MutableShortCollection |
asSynchronized() |
MutableShortCollection |
asUnmodifiable() |
void |
clear() |
<V> MutableCollection<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.
|
MutableShortCollection |
reject(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
boolean |
remove(short value) |
boolean |
removeAll(short... source) |
boolean |
removeAll(ShortIterable source) |
boolean |
retainAll(short... source) |
boolean |
retainAll(ShortIterable elements) |
MutableShortCollection |
select(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
MutableShortIterator |
shortIterator()
Returns a primitive iterator that can be used to iterate over the ShortIterable in an
imperative style.
|
default MutableShortCollection |
tap(ShortProcedure procedure) |
ImmutableShortCollection |
toImmutable() |
MutableShortCollection |
with(short element) |
MutableShortCollection |
withAll(ShortIterable elements) |
MutableShortCollection |
without(short element) |
MutableShortCollection |
withoutAll(ShortIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableShortIterator shortIterator()
ShortIterableshortIterator in interface ShortIterableboolean add(short element)
boolean addAll(short... source)
boolean addAll(ShortIterable source)
boolean remove(short value)
boolean removeAll(ShortIterable source)
boolean removeAll(short... source)
boolean retainAll(ShortIterable elements)
Collection.retainAll(Collection)boolean retainAll(short... source)
Collection.retainAll(Collection)void clear()
MutableShortCollection select(ShortPredicate predicate)
ShortIterableselect in interface ShortIterableMutableShortCollection reject(ShortPredicate predicate)
ShortIterablereject in interface ShortIterable<V> MutableCollection<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface ShortIterableMutableShortCollection with(short element)
MutableShortCollection without(short element)
MutableShortCollection withAll(ShortIterable elements)
MutableShortCollection withoutAll(ShortIterable elements)
MutableShortCollection asUnmodifiable()
MutableShortCollection asSynchronized()
ImmutableShortCollection toImmutable()
default MutableShortCollection tap(ShortProcedure procedure)
tap in interface ShortIterableCopyright © 2004–2017. All rights reserved.