Top Inners Fields Constructors Methods
org.eclipse.jgit.revwalk

pack-priv Class BlockObjQueue

extends Object
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
private BlockObjQueue.BlockFreeList
private BlockObjQueue.Block
private BlockObjQueue.Block

Constructor Summary

AccessConstructor and Description
pack-priv
BlockObjQueue()

Create an empty queue.

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv RevObject
next()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

freeback to summary
private BlockObjQueue.BlockFreeList free
tailback to summary
private BlockObjQueue.Block tail

Constructor Detail

BlockObjQueueback to summary
pack-priv BlockObjQueue()

Create an empty queue.

Method Detail

addback to summary
pack-priv void add(RevObject c)
nextback to summary
pack-priv RevObject next()
org.eclipse.jgit.revwalk back to summary

pack-priv final Class BlockObjQueue.Block

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final int
pack-priv int
headIndex

Next valid entry in objects.

pack-priv BlockObjQueue.Block
next

Next block in our chain of blocks; null if we are the last.

pack-priv final RevObject[]
objects

Our table of queued objects.

pack-priv int
tailIndex

Next free entry in objects for addition at.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
pack-priv boolean
pack-priv boolean
pack-priv RevObject
pop()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BLOCK_SIZEback to summary
private static final int BLOCK_SIZE
headIndexback to summary
pack-priv int headIndex

Next valid entry in objects.

nextback to summary
pack-priv BlockObjQueue.Block next

Next block in our chain of blocks; null if we are the last.

objectsback to summary
pack-priv final RevObject[] objects

Our table of queued objects.

tailIndexback to summary
pack-priv int tailIndex

Next free entry in objects for addition at.

Constructor Detail

Blockback to summary
pack-priv Block()

Method Detail

addback to summary
pack-priv void add(RevObject c)
clearback to summary
pack-priv void clear()
isEmptyback to summary
pack-priv boolean isEmpty()
isFullback to summary
pack-priv boolean isFull()
popback to summary
pack-priv RevObject pop()
org.eclipse.jgit.revwalk back to summary

pack-priv final Class BlockObjQueue.BlockFreeList

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private BlockObjQueue.Block

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv BlockObjQueue.Block
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nextback to summary
private BlockObjQueue.Block next

Constructor Detail

BlockFreeListback to summary
pack-priv BlockFreeList()

Method Detail

freeBlockback to summary
pack-priv void freeBlock(BlockObjQueue.Block b)
newBlockback to summary
pack-priv BlockObjQueue.Block newBlock()