|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DuDeObjectSorter
The interface
DuDeObjectSorter
provides the method signatures for sorting a collection of DuDeObject
s.
Method Summary | |
---|---|
void |
add(DuDeObject object)
Adds a DuDeObject to the collection that will be sorted. |
void |
addAll(Iterable<DuDeObject> objects)
Adds the passed several DuDeObject s to this DuDeObjectSorter . |
void |
clear()
Clears the already added data. |
DuDeStorage<DuDeObject> |
getSortedCollection()
Returns the sorted data. |
void |
setSortingKey(SortingKey sortingKey)
Sets a new SortingKey . |
Method Detail |
---|
void add(DuDeObject object)
DuDeObject
to the collection that will be sorted.
object
- The DuDeObject
.void addAll(Iterable<DuDeObject> objects)
DuDeObject
s to this DuDeObjectSorter
.
objects
- The DuDeObject
s.void setSortingKey(SortingKey sortingKey)
SortingKey
.
sortingKey
- The new SortingKey
.
NullPointerException
- If null
was passed instead of a SortingKey
.void clear()
DuDeStorage<DuDeObject> getSortedCollection() throws IOException
IOException
- If an error occurs while sorting the data file-based.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |