Package org.eclipse.jgit.revwalk
Class AbstractRevQueue.AlwaysEmptyQueue
java.lang.Object
org.eclipse.jgit.revwalk.Generator
org.eclipse.jgit.revwalk.AbstractRevQueue
org.eclipse.jgit.revwalk.AbstractRevQueue.AlwaysEmptyQueue
- Enclosing class:
- AbstractRevQueue
-
Field Summary
Fields inherited from class org.eclipse.jgit.revwalk.AbstractRevQueue
EMPTY_QUEUE, outputTypeFields inherited from class org.eclipse.jgit.revwalk.Generator
firstParent, HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a commit to the queue.(package private) booleananybodyHasFlag(int f) voidclear()Remove all entries from this queue.(package private) booleaneverbodyHasFlag(int f) next()Return the next commit to the application, or the next generator.Methods inherited from class org.eclipse.jgit.revwalk.AbstractRevQueue
add, addParents, describe, outputTypeMethods inherited from class org.eclipse.jgit.revwalk.Generator
shareFreeList
-
Constructor Details
-
AlwaysEmptyQueue
private AlwaysEmptyQueue()
-
-
Method Details
-
add
Description copied from class:AbstractRevQueueAdd 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
AbstractRevQueue.add(RevCommit, RevFlag).- Specified by:
addin classAbstractRevQueue- Parameters:
c- commit to add.
-
next
Description copied from class:AbstractRevQueueReturn the next commit to the application, or the next generator.Remove the first commit from the queue.
- Specified by:
nextin classAbstractRevQueue- Returns:
- next available commit; null if no more are to be returned.
-
anybodyHasFlag
boolean anybodyHasFlag(int f) - Specified by:
anybodyHasFlagin classAbstractRevQueue
-
everbodyHasFlag
boolean everbodyHasFlag(int f) - Specified by:
everbodyHasFlagin classAbstractRevQueue
-
clear
public void clear()Description copied from class:AbstractRevQueueRemove all entries from this queue.- Specified by:
clearin classAbstractRevQueue
-