| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LazyDoubleIterable | asLazy()
Implements org. Returns a LazyDoubleIterable adapter wrapping the source DoubleIterable. |
| public double | |
| public double | |
| public double | |
| public double | |
| public MutableDoubleBag | toBag()
Implements org. Converts the DoubleIterable to a new MutableDoubleBag. |
| public MutableDoubleList | toList()
Implements org. Converts the DoubleIterable to a new MutableDoubleList. |
| public MutableDoubleSet | toSet()
Implements org. Converts the DoubleIterable to a new MutableDoubleSet. |
| public double[] | |
| public MutableDoubleList | |
| public String | toString()
Overrides java. Implements org. Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets. |
| AbstractDoubleIterable | back to summary |
|---|---|
| public AbstractDoubleIterable() | |
| asLazy | back to summary |
|---|---|
| public LazyDoubleIterable asLazy() Implements org. Doc from org. Returns a LazyDoubleIterable adapter wrapping the source DoubleIterable.
| |
| average | back to summary |
|---|---|
| public double average() Implements org.
| |
| maxIfEmpty | back to summary |
|---|---|
| public double maxIfEmpty(double defaultValue) Implements org.
| |
| median | back to summary |
|---|---|
| public double median() Implements org.
| |
| minIfEmpty | back to summary |
|---|---|
| public double minIfEmpty(double defaultValue) Implements org.
| |
| toBag | back to summary |
|---|---|
| public MutableDoubleBag toBag() Implements org. Doc from org. Converts the DoubleIterable to a new MutableDoubleBag.
| |
| toList | back to summary |
|---|---|
| public MutableDoubleList toList() Implements org. Doc from org. Converts the DoubleIterable to a new MutableDoubleList.
| |
| toSet | back to summary |
|---|---|
| public MutableDoubleSet toSet() Implements org. Doc from org. Converts the DoubleIterable to a new MutableDoubleSet.
| |
| toSortedArray | back to summary |
|---|---|
| public double[] toSortedArray() Implements org.
| |
| toSortedList | back to summary |
|---|---|
| public MutableDoubleList toSortedList() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements org. Doc from org. Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.
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());
| |