|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.TreeMap
de.tuberlin.cs.flp.jspwiki.plugin.wikiarchive.Archive
An archive representation, that means a set of ArchiveEntry
s together with a sort order.
Constructor Summary | |
Archive()
|
Method Summary | |
void |
add(ArchiveEntry entry)
Adds an entry to the archive. |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two ArhiveEntries with each other. |
java.util.Comparator |
getComparator()
Returns the comparator to be used for comparing pairs of entries and building a sorted entry list. |
Methods inherited from class java.util.TreeMap |
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, isEmpty, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Methods inherited from interface java.util.Map |
equals, hashCode, isEmpty |
Constructor Detail |
public Archive()
Method Detail |
public void add(ArchiveEntry entry)
entry
- The entry.public java.util.Comparator getComparator()
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- One ArchiveEntry.o2
- Another ArchiveEntry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |