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) |
MutableShortCollection |
reject(ShortPredicate 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) |
MutableShortIterator |
shortIterator() |
ImmutableShortCollection |
toImmutable() |
MutableShortCollection |
with(short element) |
MutableShortCollection |
withAll(ShortIterable elements) |
MutableShortCollection |
without(short element) |
MutableShortCollection |
withoutAll(ShortIterable elements) |
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableShortIterator shortIterator()
shortIterator
in interface ShortIterable
boolean 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)
select
in interface ShortIterable
MutableShortCollection reject(ShortPredicate predicate)
reject
in interface ShortIterable
<V> MutableCollection<V> collect(ShortToObjectFunction<? extends V> function)
collect
in interface ShortIterable
MutableShortCollection with(short element)
MutableShortCollection without(short element)
MutableShortCollection withAll(ShortIterable elements)
MutableShortCollection withoutAll(ShortIterable elements)
MutableShortCollection asUnmodifiable()
MutableShortCollection asSynchronized()
ImmutableShortCollection toImmutable()
Copyright © 2004–2016. All rights reserved.