Interface IntSequence


@CubismEditor public interface IntSequence
Immutable indexed integer sequence.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get(int index)
    Returns the element at index.
    default boolean
    Returns whether the sequence contains no elements.
    int
    Returns the number of elements.
  • Method Details

    • size

      int size()
      Returns the number of elements.
    • get

      int get(int index)
      Returns the element at index.
      Parameters:
      index - zero-based position within [0, size())
    • isEmpty

      default boolean isEmpty()
      Returns whether the sequence contains no elements.