FloatIterable, PrimitiveIterableAbstractFloatSet, AbstractMutableFloatValuesMap, FloatArrayList, FloatHashBagpublic abstract class AbstractFloatIterable extends Object implements FloatIterable
| Constructor | Description |
|---|---|
AbstractFloatIterable() |
| Modifier and Type | Method | Description |
|---|---|---|
LazyFloatIterable |
asLazy() |
Returns a LazyFloatIterable adapter wrapping the source FloatIterable.
|
double |
average() |
|
boolean |
containsAll(float... source) |
Returns true if the all of the values specified in the source array are contained
in the FloatIterable, and false if they are not.
|
boolean |
containsAll(FloatIterable source) |
Returns true if the all of the values specified in the source FloatIterable are contained
in the FloatIterable, and false if they are not.
|
float |
maxIfEmpty(float defaultValue) |
|
double |
median() |
|
float |
minIfEmpty(float defaultValue) |
|
MutableFloatBag |
toBag() |
Converts the FloatIterable to a new MutableFloatBag.
|
MutableFloatList |
toList() |
Converts the FloatIterable to a new MutableFloatList.
|
MutableFloatSet |
toSet() |
Converts the FloatIterable to a new MutableFloatSet.
|
float[] |
toSortedArray() |
|
MutableFloatList |
toSortedList() |
|
String |
toString() |
Returns a string with the elements of this iterable separated by commas with spaces and
enclosed in square brackets.
|
allSatisfy, anySatisfy, averageIfEmpty, chunk, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, medianIfEmpty, min, noneSatisfy, reduce, reduceIfEmpty, reject, reject, select, select, sum, summaryStatistics, tap, toArrayequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizepublic String toString()
PrimitiveIterable
Assert.assertEquals("[]", IntLists.mutable.empty().toString());
Assert.assertEquals("[1]", IntLists.mutable.with(1).toString());
Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());
toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()public float minIfEmpty(float defaultValue)
minIfEmpty in interface FloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface FloatIterablepublic double average()
average in interface FloatIterablepublic double median()
median in interface FloatIterablepublic float[] toSortedArray()
toSortedArray in interface FloatIterablepublic MutableFloatList toSortedList()
toSortedList in interface FloatIterablepublic LazyFloatIterable asLazy()
FloatIterableasLazy in interface FloatIterablepublic MutableFloatList toList()
FloatIterabletoList in interface FloatIterablepublic MutableFloatSet toSet()
FloatIterabletoSet in interface FloatIterablepublic MutableFloatBag toBag()
FloatIterabletoBag in interface FloatIterablepublic boolean containsAll(float... source)
FloatIterablecontainsAll in interface FloatIterablepublic boolean containsAll(FloatIterable source)
FloatIterablecontainsAll in interface FloatIterableCopyright © 2004–2019. All rights reserved.