Package org.ojalgo.structure
Interface ElementView1D<N extends java.lang.Comparable<N>,V extends ElementView1D<N,V>>
-
- All Superinterfaces:
AccessScalar<N>
,java.lang.Comparable<V>
,java.lang.Iterable<V>
,java.util.Iterator<V>
,NumberDefinition
,java.util.Spliterator<V>
- All Known Subinterfaces:
ElementView2D<N,V>
,ElementViewAnyD<N,V>
- All Known Implementing Classes:
Access1D.ElementView
,Access2D.ElementView
,AccessAnyD.ElementView
,SparseArray.NonzeroView
public interface ElementView1D<N extends java.lang.Comparable<N>,V extends ElementView1D<N,V>> extends AccessScalar<N>, java.lang.Iterable<V>, java.util.Iterator<V>, java.util.Spliterator<V>, java.lang.Comparable<V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Spliterator
java.util.Spliterator.OfDouble, java.util.Spliterator.OfInt, java.util.Spliterator.OfLong, java.util.Spliterator.OfPrimitive<T extends java.lang.Object,T_CONS extends java.lang.Object,T_SPLITR extends java.util.Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHARACTERISTICS
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
characteristics()
default int
compareTo(V other)
default void
forEachRemaining(java.util.function.Consumer<? super V> action)
default java.util.Comparator<? super V>
getComparator()
boolean
hasPrevious()
long
index()
V
iterator()
default long
nextIndex()
V
previous()
default long
previousIndex()
default void
remove()
default boolean
step()
default java.util.stream.Stream<V>
stream()
default boolean
tryAdvance(java.util.function.Consumer<? super V> action)
V
trySplit()
-
Methods inherited from interface org.ojalgo.structure.AccessScalar
get
-
Methods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
-
-
-
Field Detail
-
CHARACTERISTICS
static final int CHARACTERISTICS
- See Also:
- Constant Field Values
-
-
Method Detail
-
characteristics
default int characteristics()
-
compareTo
default int compareTo(V other)
-
forEachRemaining
default void forEachRemaining(java.util.function.Consumer<? super V> action)
-
getComparator
default java.util.Comparator<? super V> getComparator()
-
hasPrevious
boolean hasPrevious()
-
index
long index()
-
iterator
V iterator()
-
nextIndex
default long nextIndex()
-
previous
V previous()
-
previousIndex
default long previousIndex()
-
remove
default void remove()
-
step
default boolean step()
-
stream
default java.util.stream.Stream<V> stream()
-
tryAdvance
default boolean tryAdvance(java.util.function.Consumer<? super V> action)
-
-