class Reordering
extends java.lang.Object
reorder(List)
.Modifier and Type | Class and Description |
---|---|
(package private) static class |
Reordering.ReorderingItem |
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
_logger |
private java.util.List<Reordering.ReorderingItem> |
_reorderingItems |
Constructor and Description |
---|
Reordering() |
Modifier and Type | Method and Description |
---|---|
boolean |
addReorderingItem(EntryDoc toMoveDoc,
EntryDoc afterWhichDoc) |
java.util.List<Reordering.ReorderingItem> |
getReorderingItems()
Returns reordering specification.
|
java.util.List<EntryDoc> |
reorder(java.util.List<EntryDoc> entryDocs)
Performs reordering of
entryDocs and returns reordered entry docs, or empty list
if there are no reordering items (returns empty list ). |
private static final org.apache.log4j.Logger _logger
private final java.util.List<Reordering.ReorderingItem> _reorderingItems
public java.util.List<Reordering.ReorderingItem> getReorderingItems()
public java.util.List<EntryDoc> reorder(java.util.List<EntryDoc> entryDocs)
entryDocs
and returns reordered entry docs, or empty list
if there are no reordering items (returns empty list
).Copyright 2009-2015 Tatjana (Tanja) Kostic