mikera.indexz.impl
Class SequentialIndex
- java.lang.Object
-
- mikera.indexz.AIndex
-
- mikera.indexz.impl.ComputedIndex
-
- mikera.indexz.impl.SequentialIndex
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AIndex>, java.lang.Iterable<java.lang.Integer>
public class SequentialIndex extends ComputedIndex
Class representing a sequential index [a, a+1, a+2..... b]- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SequentialIndex(int start, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intget(int i)Gets the index value at position iintlast()Gets the last index value in this index.intmaxIndex()intminIndex()-
Methods inherited from class mikera.indexz.impl.ComputedIndex
exactClone, indexPosition, isFullyMutable, length, set
-
Methods inherited from class mikera.indexz.AIndex
clone, compareTo, compose, contains, contains, containsSorted, copyTo, equals, equals, hashCode, isDistinct, isDistinctSorted, isPermutation, isSorted, iterator, reverse, seekPosition, sort, swap, toArray, toIndex, toList, toString
-
-
-
-
Method Detail
-
get
public int get(int i)
Description copied from class:AIndexGets the index value at position i
-
-
DMelt 3.0 © DataMelt by jWork.ORG