Class BlockRevQueue.Block

java.lang.Object
org.eclipse.jgit.revwalk.BlockRevQueue.Block
Enclosing class:
BlockRevQueue

static final class BlockRevQueue.Block extends Object
  • Field Details

    • BLOCK_SIZE

      static final int BLOCK_SIZE
      See Also:
    • next

      Next block in our chain of blocks; null if we are the last.
    • 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 Details

    • Block

      Block()
  • Method Details

    • isFull

      boolean isFull()
    • isEmpty

      boolean isEmpty()
    • canUnpop

      boolean canUnpop()
    • add

      void add(RevCommit c)
    • unpop

      void unpop(RevCommit c)
    • pop

      RevCommit pop()
    • peek

      RevCommit peek()
    • clear

      void clear()
    • resetToMiddle

      void resetToMiddle()
    • resetToEnd

      void resetToEnd()