Class DictionaryBreakEngine.DequeI

java.lang.Object
com.ibm.icu.impl.breakiter.DictionaryBreakEngine.DequeI
All Implemented Interfaces:
Cloneable
Enclosing class:
DictionaryBreakEngine

public static class DictionaryBreakEngine.DequeI extends Object implements Cloneable
A deque-like structure holding raw ints. Partial, limited implementation, only what is needed by the dictionary implementation. For internal use only.
  • Field Details

    • data

      private int[] data
    • lastIdx

      private int lastIdx
    • firstIdx

      private int firstIdx
  • Constructor Details

    • DequeI

      public DequeI()
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • grow

      private void grow()
    • offer

      public void offer(int v)
    • push

      public void push(int v)
    • pop

      public int pop()
    • peek

      public int peek()
    • peekLast

      int peekLast()
    • pollLast

      int pollLast()
    • contains

      boolean contains(int v)
    • elementAt

      public int elementAt(int i)
    • removeAllElements

      public void removeAllElements()