Class TUnmodifiableRandomAccessIntList

All Implemented Interfaces:
TIntList, TIntCollection, Serializable, RandomAccess

public class TUnmodifiableRandomAccessIntList extends TUnmodifiableIntList implements RandomAccess
See Also:
  • Constructor Details

    • TUnmodifiableRandomAccessIntList

      public TUnmodifiableRandomAccessIntList(TIntList list)
  • Method Details

    • subList

      public TIntList subList(int fromIndex, int toIndex)
      Description copied from interface: TIntList
      Returns a sublist of this list.
      Specified by:
      subList in interface TIntList
      Overrides:
      subList in class TUnmodifiableIntList
      Parameters:
      fromIndex - low endpoint (inclusive) of the subList.
      toIndex - high endpoint (exclusive) of the subList.
      Returns:
      sublist of this list from begin, inclusive to end, exclusive.