public abstract class AbstractMutableIntValuesMap extends AbstractIntIterable implements MutableIntValuesMap
Constructor and Description |
---|
AbstractMutableIntValuesMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(IntPredicate predicate) |
boolean |
anySatisfy(IntPredicate predicate) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end)
Prints a string representation of this collection onto the given
Appendable . |
<V> MutableBag<V> |
collect(IntToObjectFunction<? extends V> function) |
boolean |
contains(int value) |
boolean |
containsAll(IntIterable source) |
boolean |
containsValue(int value) |
int |
count(IntPredicate predicate) |
int |
detectIfNone(IntPredicate predicate,
int value) |
void |
each(IntProcedure procedure) |
void |
forEach(IntProcedure procedure) |
void |
forEachValue(IntProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
int |
max() |
int |
min() |
boolean |
noneSatisfy(IntPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
MutableIntBag |
reject(IntPredicate predicate) |
MutableIntBag |
select(IntPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
int[] |
toArray() |
asLazy, average, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, intIterator
values
asLazy, average, containsAll, injectInto, maxIfEmpty, median, minIfEmpty, summaryStatistics, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, makeString, makeString, makeString, toString
public boolean contains(int value)
contains
in interface IntIterable
public boolean containsAll(IntIterable source)
containsAll
in interface IntIterable
containsAll
in class AbstractIntIterable
public int max()
max
in interface IntIterable
public int min()
min
in interface IntIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
public void forEach(IntProcedure procedure)
forEach
in interface IntIterable
public void each(IntProcedure procedure)
each
in interface IntIterable
public void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterable
Appendable
. Prints the string returned
by PrimitiveIterable.makeString(String, String, String)
.appendString
in interface PrimitiveIterable
public int[] toArray()
toArray
in interface IntIterable
public MutableIntBag select(IntPredicate predicate)
select
in interface IntIterable
select
in interface IntValuesMap
select
in interface MutableIntValuesMap
public MutableIntBag reject(IntPredicate predicate)
reject
in interface IntIterable
reject
in interface IntValuesMap
reject
in interface MutableIntValuesMap
public <V> MutableBag<V> collect(IntToObjectFunction<? extends V> function)
collect
in interface IntIterable
collect
in interface IntValuesMap
collect
in interface MutableIntValuesMap
public int detectIfNone(IntPredicate predicate, int value)
detectIfNone
in interface IntIterable
public int count(IntPredicate predicate)
count
in interface IntIterable
public boolean anySatisfy(IntPredicate predicate)
anySatisfy
in interface IntIterable
public boolean allSatisfy(IntPredicate predicate)
allSatisfy
in interface IntIterable
public boolean noneSatisfy(IntPredicate predicate)
noneSatisfy
in interface IntIterable
public long sum()
sum
in interface IntIterable
public boolean containsValue(int value)
containsValue
in interface IntValuesMap
public void forEachValue(IntProcedure procedure)
forEachValue
in interface IntValuesMap
Copyright © 2004–2016. All rights reserved.