public abstract class AbstractMutableLongValuesMap extends AbstractLongIterable implements MutableLongValuesMap
| Constructor and Description |
|---|
AbstractMutableLongValuesMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(LongPredicate predicate) |
boolean |
anySatisfy(LongPredicate predicate) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end)
Prints a string representation of this collection onto the given
Appendable. |
<V> MutableCollection<V> |
collect(LongToObjectFunction<? extends V> function) |
boolean |
contains(long value) |
boolean |
containsAll(LongIterable source) |
boolean |
containsValue(long value) |
int |
count(LongPredicate predicate) |
long |
detectIfNone(LongPredicate predicate,
long value) |
void |
each(LongProcedure procedure) |
void |
forEach(LongProcedure procedure) |
void |
forEachValue(LongProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
long |
max() |
long |
min() |
boolean |
noneSatisfy(LongPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
MutableLongCollection |
reject(LongPredicate predicate) |
MutableLongCollection |
select(LongPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
long[] |
toArray() |
appendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, longIteratorvaluesasLazy, average, containsAll, injectInto, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, makeString, makeString, makeString, toStringpublic boolean contains(long value)
contains in interface LongIterablepublic boolean containsAll(LongIterable source)
containsAll in interface LongIterablecontainsAll in class AbstractLongIterablepublic long max()
max in interface LongIterablepublic long min()
min in interface LongIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLongIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLongIterablepublic void forEach(LongProcedure procedure)
forEach in interface LongIterablepublic void each(LongProcedure procedure)
each in interface LongIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterableAppendable. Prints the string returned
by PrimitiveIterable.makeString(String, String, String).appendString in interface PrimitiveIterablepublic long[] toArray()
toArray in interface LongIterablepublic MutableLongCollection select(LongPredicate predicate)
select in interface LongIterableselect in interface MutableLongValuesMappublic MutableLongCollection reject(LongPredicate predicate)
reject in interface LongIterablereject in interface MutableLongValuesMappublic <V> MutableCollection<V> collect(LongToObjectFunction<? extends V> function)
collect in interface LongIterablecollect in interface MutableLongValuesMappublic long detectIfNone(LongPredicate predicate, long value)
detectIfNone in interface LongIterablepublic int count(LongPredicate predicate)
count in interface LongIterablepublic boolean anySatisfy(LongPredicate predicate)
anySatisfy in interface LongIterablepublic boolean allSatisfy(LongPredicate predicate)
allSatisfy in interface LongIterablepublic boolean noneSatisfy(LongPredicate predicate)
noneSatisfy in interface LongIterablepublic long sum()
sum in interface LongIterablepublic boolean containsValue(long value)
containsValue in interface LongValuesMappublic void forEachValue(LongProcedure procedure)
forEachValue in interface LongValuesMapCopyright © 2004–2016. All rights reserved.