Interface ValueSegment

    • Method Detail

      • getValue

        Value getValue​(int index)
        returns Value at position index
        Parameters:
        index -
        Returns:
        the value at the index
      • add

        void add​(int pos,
                 Value engValue)
      • size

        int size()
      • getRange

        ValueArray getRange​(int posStart,
                            int posStop,
                            boolean ascending)
        returns an array containing the values in the range [posStart, posStop) if ascending or [posStop, posStart) if descending
        Parameters:
        posStart -
        posStop -
        ascending -
        Returns:
        an array containing the values in the specified range