net.posprinter.utils

## Class RoundQueue<T>

- java.lang.Object
- - net.posprinter.utils.RoundQueue<T>

- All Implemented Interfaces:
    java.io.Serializable

      public class RoundQueue<T>
      extends java.lang.Object
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RoundQueue(int size)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addLast(T element)`
    `void` | `clear()`
    `T` | `get(int index)`
    `T` | `getFirst()`
    `int` | `gethead()`
    `T` | `getLast()`
    `int` | `gettail()`
    `int` | `indexOf(T key)`
    `boolean` | `isEmpty()`
    `boolean` | `isFull()`
    `int` | `realSize()`
    `T` | `removeFirst()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RoundQueue

          public RoundQueue(int size)

  - ### Method Detail

    - #### addLast

          public void addLast(T element)

    - #### removeFirst

          public T removeFirst()

    - #### realSize

          public int realSize()

    - #### isEmpty

          public boolean isEmpty()

    - #### isFull

          public boolean isFull()

    - #### clear

          public void clear()

    - #### get

          public T get(int index)

    - #### indexOf

          public int indexOf(T key)

    - #### gethead

          public int gethead()

    - #### gettail

          public int gettail()

    - #### getLast

          public T getLast()

    - #### getFirst

          public T getFirst()