public static final class SparseArray.NonzeroView<N extends Number> extends Object implements ElementView1D<N,SparseArray.NonzeroView<N>>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
CHARACTERISTICS
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Modifier and Type | Method and Description |
---|---|
double |
doubleValue() |
long |
estimateSize() |
void |
forEachRemaining(Consumer<? super SparseArray.NonzeroView<N>> action) |
N |
get() |
boolean |
hasNext() |
boolean |
hasPrevious() |
long |
index() |
SparseArray.NonzeroView<N> |
iterator() |
void |
modify(BinaryFunction<N> function,
double right) |
void |
modify(BinaryFunction<N> function,
N right) |
void |
modify(double left,
BinaryFunction<N> function) |
void |
modify(N left,
BinaryFunction<N> function) |
SparseArray.NonzeroView<N> |
next() |
long |
nextIndex() |
SparseArray.NonzeroView<N> |
previous() |
long |
previousIndex() |
boolean |
tryAdvance(Consumer<? super SparseArray.NonzeroView<N>> action) |
SparseArray.NonzeroView<N> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characteristics, compareTo, getComparator, remove, step, stream
byteValue, floatValue, intValue, longValue, shortValue
forEach, spliterator
getExactSizeIfKnown, hasCharacteristics
public double doubleValue()
doubleValue
in interface AccessScalar<N extends Number>
Number.doubleValue()
public long estimateSize()
estimateSize
in interface Spliterator<SparseArray.NonzeroView<N extends Number>>
public void forEachRemaining(Consumer<? super SparseArray.NonzeroView<N>> action)
forEachRemaining
in interface Iterator<SparseArray.NonzeroView<N extends Number>>
forEachRemaining
in interface Spliterator<SparseArray.NonzeroView<N extends Number>>
forEachRemaining
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public N get()
get
in interface AccessScalar<N extends Number>
public boolean hasNext()
hasNext
in interface Iterator<SparseArray.NonzeroView<N extends Number>>
public boolean hasPrevious()
hasPrevious
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public long index()
index
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public SparseArray.NonzeroView<N> iterator()
iterator
in interface Iterable<SparseArray.NonzeroView<N extends Number>>
iterator
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public void modify(BinaryFunction<N> function, double right)
public void modify(BinaryFunction<N> function, N right)
public void modify(double left, BinaryFunction<N> function)
public void modify(N left, BinaryFunction<N> function)
public SparseArray.NonzeroView<N> next()
next
in interface Iterator<SparseArray.NonzeroView<N extends Number>>
public long nextIndex()
nextIndex
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public SparseArray.NonzeroView<N> previous()
previous
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public long previousIndex()
previousIndex
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public boolean tryAdvance(Consumer<? super SparseArray.NonzeroView<N>> action)
tryAdvance
in interface Spliterator<SparseArray.NonzeroView<N extends Number>>
tryAdvance
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
public SparseArray.NonzeroView<N> trySplit()
trySplit
in interface Spliterator<SparseArray.NonzeroView<N extends Number>>
trySplit
in interface ElementView1D<N extends Number,SparseArray.NonzeroView<N extends Number>>
Copyright © 2019 Optimatika. All rights reserved.