Class BoundedQueue

java.lang.Object
zombie.core.utils.BoundedQueue

public class BoundedQueue
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    BoundedQueue​(int int1)  
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.Object object)  
    int capacity()  
    void clear()  
    java.lang.Object get​(int int1)  
    boolean isEmpty()  
    boolean isFull()  
    java.lang.Object remove​(int int1)  
    java.lang.Object removeFirst()  
    int size()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BoundedQueue

      public BoundedQueue​(int int1)
  • Method Details

    • add

      public void add​(java.lang.Object object)
    • removeFirst

      public java.lang.Object removeFirst()
    • remove

      public java.lang.Object remove​(int int1)
    • get

      public java.lang.Object get​(int int1)
    • clear

      public void clear()
    • capacity

      public int capacity()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • isFull

      public boolean isFull()