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

public Class LIFORevQueue

extends BlockRevQueue
Class Inheritance
Imports
java.io.IOException, org.eclipse.jgit.errors.IncorrectObjectTypeException, .MissingObjectException

A queue of commits in LIFO order.

Field Summary

Modifier and TypeField and Description
private BlockRevQueue.Block
Inherited from org.eclipse.jgit.revwalk.BlockRevQueue:
free

Constructor Summary

AccessConstructor and Description
public
LIFORevQueue()

Create an empty LIFO queue.

pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
add(RevCommit
commit to add.
c
)

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.add.

Add a commit to the queue.

pack-priv boolean
public void
clear()

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.clear.

Remove all entries from this queue.

pack-priv boolean
public RevCommit
next()

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.next.

Remove the first commit from the queue.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.eclipse.jgit.revwalk.BlockRevQueue:
shareFreeList

Field Detail

Constructor Detail

LIFORevQueueback to summary
public LIFORevQueue()

Create an empty LIFO queue.

LIFORevQueueback to summary
pack-priv LIFORevQueue(Generator s) throws MissingObjectException, IncorrectObjectTypeException, IOException

Method Detail

addback to summary
public void add(RevCommit c)

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.add.

Doc from org.eclipse.jgit.revwalk.AbstractRevQueue.add.

Add a commit to the queue.

This method always adds the commit, even if it is already in the queue or previously was in the queue but has already been removed. To control queue admission use add(RevCommit, RevFlag).

Parameters
c:RevCommit

commit to add.

Annotations
@Override
anybodyHasFlagback to summary
pack-priv boolean anybodyHasFlag(int f)

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.anybodyHasFlag.

Annotations
@Override
clearback to summary
public void clear()

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.clear.

Doc from org.eclipse.jgit.revwalk.AbstractRevQueue.clear.

Remove all entries from this queue.

Annotations
@Override
everbodyHasFlagback to summary
pack-priv boolean everbodyHasFlag(int f)

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.everbodyHasFlag.

Annotations
@Override
nextback to summary
public RevCommit next()

Implements abstract org.eclipse.jgit.revwalk.AbstractRevQueue.next.

Doc from org.eclipse.jgit.revwalk.AbstractRevQueue.next.

Remove the first commit from the queue.

Returns:RevCommit

Doc from org.eclipse.jgit.revwalk.Generator.next.

next available commit; null if no more are to be returned.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override