Class BlockRevQueue.Block

  • Enclosing class:
    BlockRevQueue

    static final class BlockRevQueue.Block
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int BLOCK_SIZE  
      (package private) RevCommit[] commits
      Our table of queued commits.
      (package private) int headIndex
      Next valid entry in commits.
      (package private) BlockRevQueue.Block next
      Next block in our chain of blocks; null if we are the last.
      (package private) int tailIndex
      Next free entry in commits for addition at.
    • Constructor Summary

      Constructors 
      Constructor Description
      Block()  
    • Field Detail

      • commits

        final RevCommit[] commits
        Our table of queued commits.
      • headIndex

        int headIndex
        Next valid entry in commits.
      • tailIndex

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

      • Block

        Block()
    • Method Detail

      • isFull

        boolean isFull()
      • isEmpty

        boolean isEmpty()
      • canUnpop

        boolean canUnpop()
      • clear

        void clear()
      • resetToMiddle

        void resetToMiddle()
      • resetToEnd

        void resetToEnd()