ReverseIterable
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final DoubleList |
| Access | Constructor and Description |
|---|---|
| public |
| adapted | back to summary |
|---|---|
| private final DoubleList adapted | |
| ReverseDoubleIterable | back to summary |
|---|---|
| public ReverseDoubleIterable(DoubleList newAdapted) | |
| adapt | back to summary |
|---|---|
| public static ReverseDoubleIterable adapt(DoubleList doubleList) | |
| asLazy | back to summary |
|---|---|
| public LazyDoubleIterable asLazy() Overrides org. Implements org. Doc from org. Returns a LazyDoubleIterable adapter wrapping the source DoubleIterable.
| |
| average | back to summary |
|---|---|
| public double average() Overrides org. Implements org.
| |
| contains | back to summary |
|---|---|
| public boolean contains(double value) Overrides org. Implements org. Doc from org. Returns true if the value is contained in the DoubleIterable, and false if it is not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(double... source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source array are contained in the DoubleIterable, and false if they are not.
| |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(DoubleIterable source) Overrides org. Overrides default org. Doc from org. Returns true if all of the values specified in the source DoubleIterable are contained in the DoubleIterable, and false if they are not.
| |
| doubleIterator | back to summary |
|---|---|
| public DoubleIterator doubleIterator() Implements org. Doc from org. Returns a primitive iterator that can be used to iterate over the DoubleIterable in an imperative style.
| |
| each | back to summary |
|---|---|
| public void each(DoubleProcedure procedure) Implements org. Doc from org. A synonym for forEach.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Overrides default org. Doc from org. Returns true if this iterable has zero items.
| |
| max | back to summary |
|---|---|
| public double max() Overrides org. Implements org.
| |
| maxIfEmpty | back to summary |
|---|---|
| public double maxIfEmpty(double defaultValue) Overrides org. Implements org.
| |
| median | back to summary |
|---|---|
| public double median() Overrides org. Implements org.
| |
| min | back to summary |
|---|---|
| public double min() Overrides org. Implements org.
| |
| minIfEmpty | back to summary |
|---|---|
| public double minIfEmpty(double defaultValue) Overrides org. Implements org.
| |
| notEmpty | back to summary |
|---|---|
| public boolean notEmpty() Overrides org. Overrides default org. Doc from org. The English equivalent of !this.isEmpty()
| |
| size | back to summary |
|---|---|
| public int size() Overrides org. Implements org. Doc from org. Returns the number of items in this iterable.
| |
| sum | back to summary |
|---|---|
| public double sum() Overrides org. Implements org.
| |
| toArray | back to summary |
|---|---|
| public double[] toArray() Overrides org. Implements org. Doc from org. Converts the DoubleIterable to a primitive double array.
| |
| toBag | back to summary |
|---|---|
| public MutableDoubleBag toBag() Overrides org. Implements org. Doc from org. Converts the DoubleIterable to a new MutableDoubleBag.
| |
| toList | back to summary |
|---|---|
| public MutableDoubleList toList() Overrides org. Implements org. Doc from org. Converts the DoubleIterable to a new MutableDoubleList.
| |
| toSet | back to summary |
|---|---|
| public MutableDoubleSet toSet() Overrides org. Implements org. Doc from org. Converts the DoubleIterable to a new MutableDoubleSet.
| |
| toSortedArray | back to summary |
|---|---|
| public double[] toSortedArray() Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | currentIndex
Index of element to be returned by subsequent call to next. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public double |
| currentIndex | back to summary |
|---|---|
| private int currentIndex Index of element to be returned by subsequent call to next. | |
| ReverseDoubleIterator | back to summary |
|---|---|
| private ReverseDoubleIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| next | back to summary |
|---|---|
| public double next() Implements org.
| |