Class LongSequence

    • Constructor Detail

      • LongSequence

        public LongSequence​(int capacity,
                            long fillValue)
    • Method Detail

      • increment

        public void increment​(int position)
      • get

        public long get​(int index)
        Description copied from class: LongList
        Returns the value at the given index.
        Overrides:
        get in class LongList
        Parameters:
        index - the index
        Returns:
        the value at the given index
      • set

        public void set​(int position,
                        long value)
        Description copied from class: LongList
        Adds the given int value to the list.
        Overrides:
        set in class LongList
        Parameters:
        position - the position of the valur that should be redefined.
        value - the new value to be defined.
      • fill

        public void fill​(long value)
        Overrides:
        fill in class LongList