|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SortIF
Interface for a class to sort exhibits (for a FilterBean). Sorters must be Serializable so that expressions can be persisted. They must not attempt to cache any reference, direct or indirect, to a DataSourceBean.
Sorter objects must be immutable and the sort() method must be idempotent.
This interface may be used by any operation that needs to operate on the whole (remaining) set of exhibits at once.
A sort routine may return its input array re-arranged, or may return a new array.
In no case must it leave nulls or duplicates in the result, nor may the result be null.
Implementing classes should implement equals() and hashCode() properly.
| Method Summary | |
|---|---|
Name.ExhibitFull[] |
sort(AllExhibitProperties aep,
Name.ExhibitFull[] exhibitNames)
Sorts the given exhibits (specified by full name) in situ; never null. |
| Method Detail |
|---|
Name.ExhibitFull[] sort(AllExhibitProperties aep,
Name.ExhibitFull[] exhibitNames)
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||