Documentation of 'mikera.indexz.impl.SequentialIndex' Java class
SequentialIndex
mikera.indexz.impl

Class 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 Detail

      • SequentialIndex

        public SequentialIndex(int start,
                               int length)
    • Method Detail

      • minIndex

        public int minIndex()
        Overrides:
        minIndex in class AIndex
      • maxIndex

        public int maxIndex()
        Overrides:
        maxIndex in class AIndex
      • get

        public int get(int i)
        Description copied from class: AIndex
        Gets the index value at position i
        Specified by:
        get in class AIndex
        Returns:
      • last

        public int last()
        Description copied from class: AIndex
        Gets the last index value in this index. Throws an exception if the index is empty
        Specified by:
        last in class AIndex
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.