DoubleIterable, DoubleValuesMap, MutableDoubleValuesMap, PrimitiveIterableByteDoubleHashMap, CharDoubleHashMap, DoubleDoubleHashMap, FloatDoubleHashMap, IntDoubleHashMap, LongDoubleHashMap, ShortDoubleHashMappublic abstract class AbstractMutableDoubleValuesMap extends AbstractDoubleIterable implements MutableDoubleValuesMap
| Constructor | Description | 
|---|---|
| AbstractMutableDoubleValuesMap() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | allSatisfy(DoublePredicate predicate) | Returns true if all of the elements in the DoubleIterable return true for the
 specified predicate, otherwise returns false. | 
| boolean | anySatisfy(DoublePredicate predicate) | Returns true if any of the elements in the DoubleIterable return true for the
 specified predicate, otherwise returns false. | 
| void | appendString(java.lang.Appendable appendable,
            java.lang.String start,
            java.lang.String separator,
            java.lang.String end) | Prints a string representation of this collection onto the given  Appendable. | 
| RichIterable<DoubleIterable> | chunk(int size) | Partitions elements in fixed size chunks. | 
| <V> MutableBag<V> | collect(DoubleToObjectFunction<? extends V> function) | Returns a new collection with the results of applying the specified function on each element of the source
 collection. | 
| boolean | contains(double value) | Returns true if the value is contained in the DoubleIterable, and false if it is not. | 
| boolean | containsAll(DoubleIterable source) | Returns true if the all of the values specified in the source DoubleIterable are contained
 in the DoubleIterable, and false if they are not. | 
| boolean | containsValue(double value) | |
| int | count(DoublePredicate predicate) | Returns a count of the number of elements in the DoubleIterable that return true for the
 specified predicate. | 
| double | detectIfNone(DoublePredicate predicate,
            double value) | |
| void | each(DoubleProcedure procedure) | A synonym for forEach. | 
| void | forEach(DoubleProcedure procedure) | Applies the DoubleProcedure to each element in the DoubleIterable. | 
| void | forEachValue(DoubleProcedure procedure) | |
| boolean | isEmpty() | Returns true if this iterable has zero items. | 
| double | max() | |
| double | min() | |
| boolean | noneSatisfy(DoublePredicate predicate) | Returns true if none of the elements in the DoubleIterable return true for the
 specified predicate, otherwise returns false. | 
| boolean | notEmpty() | The English equivalent of !this.isEmpty() | 
| MutableDoubleBag | reject(DoublePredicate predicate) | Returns a new DoubleIterable with all of the elements in the DoubleIterable that
 return false for the specified predicate. | 
| MutableDoubleBag | select(DoublePredicate predicate) | Returns a new DoubleIterable with all of the elements in the DoubleIterable that
 return true for the specified predicate. | 
| int | size() | Returns the number of items in this iterable. | 
| double | sum() | |
| double[] | toArray() | Converts the DoubleIterable to a primitive double array. | 
asLazy, average, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringasLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, flatCollect, injectInto, maxIfEmpty, median, medianIfEmpty, minIfEmpty, reject, select, summaryStatistics, toBag, toList, toSet, toSortedArray, toSortedListtap, valuesclear, doubleIteratorequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendString, appendString, makeString, makeString, makeString, toStringpublic boolean contains(double value)
DoubleIterablecontains in interface DoubleIterablepublic boolean containsAll(DoubleIterable source)
DoubleIterablecontainsAll in interface DoubleIterablecontainsAll in class AbstractDoubleIterablepublic double max()
max in interface DoubleIterablepublic double min()
min in interface DoubleIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablepublic void forEach(DoubleProcedure procedure)
DoubleIterableforEach in interface DoubleIterablepublic void each(DoubleProcedure procedure)
DoubleIterableeach in interface DoubleIterablepublic void appendString(java.lang.Appendable appendable,
                         java.lang.String start,
                         java.lang.String separator,
                         java.lang.String end)
PrimitiveIterableAppendable.  Prints the string returned
 by PrimitiveIterable.makeString(String, String, String).appendString in interface PrimitiveIterablepublic double[] toArray()
DoubleIterabletoArray in interface DoubleIterablepublic MutableDoubleBag select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableselect in interface DoubleValuesMapselect in interface MutableDoubleValuesMappublic MutableDoubleBag reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterablereject in interface DoubleValuesMapreject in interface MutableDoubleValuesMappublic <V> MutableBag<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterablecollect in interface DoubleValuesMapcollect in interface MutableDoubleValuesMappublic double detectIfNone(DoublePredicate predicate, double value)
detectIfNone in interface DoubleIterablepublic int count(DoublePredicate predicate)
DoubleIterablecount in interface DoubleIterablepublic boolean anySatisfy(DoublePredicate predicate)
DoubleIterableanySatisfy in interface DoubleIterablepublic boolean allSatisfy(DoublePredicate predicate)
DoubleIterableallSatisfy in interface DoubleIterablepublic boolean noneSatisfy(DoublePredicate predicate)
DoubleIterablenoneSatisfy in interface DoubleIterablepublic RichIterable<DoubleIterable> chunk(int size)
DoubleIterablechunk in interface DoubleIterablesize - the number of elements per chunkRichIterable containing DoubleIterables of size size, except the last will be
 truncated if the elements don't divide evenly.public double sum()
sum in interface DoubleIterablepublic boolean containsValue(double value)
containsValue in interface DoubleValuesMappublic void forEachValue(DoubleProcedure procedure)
forEachValue in interface DoubleValuesMapCopyright © 2004–2018. All rights reserved.