Class BlockObjQueue.Block

  • Enclosing class:
    BlockObjQueue

    static final class BlockObjQueue.Block
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Block()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void add​(RevObject c)  
      (package private) void clear()  
      (package private) boolean isEmpty()  
      (package private) boolean isFull()  
      (package private) RevObject pop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • objects

        final RevObject[] objects
        Our table of queued objects.
      • headIndex

        int headIndex
        Next valid entry in objects.
      • tailIndex

        int tailIndex
        Next free entry in objects for addition at.
    • Constructor Detail

      • Block

        Block()
    • Method Detail

      • isFull

        boolean isFull()
      • isEmpty

        boolean isEmpty()
      • clear

        void clear()