Interface List_of_ints

All Superinterfaces:
Iterable<Integer>

@Deprecated(since="3.6.0") public interface List_of_ints extends Iterable<Integer>
Deprecated.
To become package private in org.apache.uima.jcas.cas or possibly removed. Should also be renamed.
a List API that returns ints instead of T
To be removed in version:
4.0.0
  • Method Details

    • size

      int size()
      Deprecated.
    • isEmpty

      default boolean isEmpty()
      Deprecated.
    • contains

      default boolean contains(int i)
      Deprecated.
    • toArray

      int[] toArray()
      Deprecated.
    • toArrayMinCopy

      int[] toArrayMinCopy()
      Deprecated.
      Avoid copying, return the original array, if start/end offsets not in use
      Returns:
      -
    • add

      boolean add(int i)
      Deprecated.
    • remove

      boolean remove(int i)
      Deprecated.
    • clear

      void clear()
      Deprecated.
    • get

      int get(int index)
      Deprecated.
    • set

      int set(int index, int element)
      Deprecated.
    • add

      void add(int index, int element)
      Deprecated.
    • removeAtIndex

      int removeAtIndex(int index)
      Deprecated.
    • indexOf

      int indexOf(int i)
      Deprecated.
    • lastIndexOf

      int lastIndexOf(int i)
      Deprecated.
    • subList

      List_of_ints subList(int fromIndex, int toIndex)
      Deprecated.
    • iterator

      Deprecated.
      Specified by:
      iterator in interface Iterable<Integer>
    • intListIterator

      IntListIterator intListIterator()
      Deprecated.
    • copyFromArray

      void copyFromArray(int[] src, int srcPos, int destPos, int length)
      Deprecated.
    • copyToArray

      void copyToArray(int srcPos, int[] dest, int destPos, int length)
      Deprecated.
    • sort

      void sort()
      Deprecated.
    • EMPTY_LIST

      static List_of_ints EMPTY_LIST()
      Deprecated.
    • newInstance

      static List_of_ints newInstance(int[] ia)
      Deprecated.
    • newInstance

      static List_of_ints newInstance(int[] ia, int start, int end)
      Deprecated.