private static class AbstractRevQueue.AlwaysEmptyQueue extends AbstractRevQueue
EMPTY_QUEUE, outputTypeHAS_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, outputTypeshareFreeListpublic 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 AbstractRevQueuec - commit to add.public RevCommit next()
AbstractRevQueueRemove the first commit from the queue.
next in class AbstractRevQueueboolean anybodyHasFlag(int f)
anybodyHasFlag in class AbstractRevQueueboolean everbodyHasFlag(int f)
everbodyHasFlag in class AbstractRevQueuepublic void clear()
AbstractRevQueueclear in class AbstractRevQueue