|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.model.CommitListBuilder
Takes a RevisionIterator
, which must be sorted by date,
and builds a List
of Commit
s from it.
The result list is sorted by date.
Constructor Summary | |
CommitListBuilder(RevisionIterator sortedRevisions)
Creates a new instance using the given RevisionIterator . |
Method Summary | |
java.util.List |
createCommitList()
Creates a List of Commit s from the source iterator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommitListBuilder(RevisionIterator sortedRevisions)
RevisionIterator
.
The input iterator must be sorted by date, oldest first. This can
be achieved using a RevisionSortIterator
.
sortedRevisions
- a sorted RevisionIterator
Method Detail |
public java.util.List createCommitList()
List
of Commit
s from the source iterator.
The result list will be sorted by date.
Commit
objects
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |