private static class AbstractRevQueue.AlwaysEmptyQueue extends AbstractRevQueue
EMPTY_QUEUE, outputType
HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO
Modifier | Constructor and Description |
---|---|
private |
AlwaysEmptyQueue() |
Modifier and Type | Method and Description |
---|---|
void |
add(RevCommit c)
Add a commit to the queue.
|
(package private) boolean |
anybodyHasFlag(int f) |
void |
clear()
Remove all entries from this queue.
|
(package private) boolean |
everbodyHasFlag(int f) |
RevCommit |
next()
Return the next commit to the application, or the next generator.
|
add, addParents, describe, outputType
shareFreeList
public void add(RevCommit c)
AbstractRevQueue
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)
.
add
in class AbstractRevQueue
c
- commit to add.public RevCommit next()
AbstractRevQueue
Remove the first commit from the queue.
next
in class AbstractRevQueue
boolean anybodyHasFlag(int f)
anybodyHasFlag
in class AbstractRevQueue
boolean everbodyHasFlag(int f)
everbodyHasFlag
in class AbstractRevQueue
public void clear()
AbstractRevQueue
clear
in class AbstractRevQueue