LongIterable
, PrimitiveIterable
MutableLongBag
, MutableLongList
, MutableLongSet
AbstractMutableLongKeySet
, AbstractSynchronizedLongCollection
, AbstractUnmodifiableLongCollection
, LongArrayList
, LongHashBag
, LongHashSet
, SynchronizedLongBag
, SynchronizedLongCollection
, SynchronizedLongList
, SynchronizedLongSet
, UnmodifiableLongBag
, UnmodifiableLongCollection
, UnmodifiableLongList
, UnmodifiableLongSet
public interface MutableLongCollection extends LongIterable
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(long element) |
|
boolean |
addAll(long... source) |
|
boolean |
addAll(LongIterable source) |
|
MutableLongCollection |
asSynchronized() |
|
MutableLongCollection |
asUnmodifiable() |
|
void |
clear() |
|
<V> MutableCollection<V> |
collect(LongToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableLongIterator |
longIterator() |
Returns a primitive iterator that can be used to iterate over the LongIterable in an
imperative style.
|
MutableLongCollection |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
boolean |
remove(long value) |
|
boolean |
removeAll(long... source) |
|
boolean |
removeAll(LongIterable source) |
|
boolean |
retainAll(long... source) |
|
boolean |
retainAll(LongIterable elements) |
|
MutableLongCollection |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
ImmutableLongCollection |
toImmutable() |
|
MutableLongCollection |
with(long element) |
|
MutableLongCollection |
withAll(LongIterable elements) |
|
MutableLongCollection |
without(long element) |
|
MutableLongCollection |
withoutAll(LongIterable elements) |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableLongIterator longIterator()
LongIterable
longIterator
in interface LongIterable
boolean add(long element)
boolean addAll(long... source)
boolean addAll(LongIterable source)
boolean remove(long value)
boolean removeAll(LongIterable source)
boolean removeAll(long... source)
boolean retainAll(LongIterable elements)
Collection.retainAll(Collection)
boolean retainAll(long... source)
Collection.retainAll(Collection)
void clear()
MutableLongCollection select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
MutableLongCollection reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
<V> MutableCollection<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
MutableLongCollection with(long element)
MutableLongCollection without(long element)
MutableLongCollection withAll(LongIterable elements)
MutableLongCollection withoutAll(LongIterable elements)
MutableLongCollection asUnmodifiable()
MutableLongCollection asSynchronized()
ImmutableLongCollection toImmutable()
Copyright © 2004–2017. All rights reserved.