|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.sortByName
public static final class BuiltInFilters.sortByName
Simple sort of exhibits by name. By default sorts in natural String order, but can take a Comparator argument to use (eg to use a 'smart' ordering(s) for human benefit).
| Field Summary | |
|---|---|
private static long |
serialVersionUID
Unique serial ID. |
static java.lang.String |
SIMPLE
Simple sort; default String lexical ordering; can use null instead. |
static java.lang.String |
SIMPLE_SMART
Simple smart sort; essentially case-insensitive ordering on file component. |
static java.lang.String |
SMART
Full smart sort; gets current version of comparator during sort(). |
private java.lang.String |
sortType
Sort Comparator; null for default (simple) sort. |
| Constructor Summary | |
|---|---|
BuiltInFilters.sortByName(java.lang.String sortType)
Call with argument giving sort type (or null for natural ordering). |
|
BuiltInFilters.sortByName(java.lang.String[] args)
Call with no args or single argument giving sort type. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests equality between two sortByName objects. |
int |
hashCode()
The hashcode of the sort, or null for the default sort. |
Name.ExhibitFull[] |
sort(AllExhibitProperties aep,
Name.ExhibitFull[] exhibitNames)
Sorts the given exhibits (specified by full name) in situ; never null. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
public static final java.lang.String SIMPLE
public static final java.lang.String SIMPLE_SMART
public static final java.lang.String SMART
private final java.lang.String sortType
| Constructor Detail |
|---|
public BuiltInFilters.sortByName(java.lang.String sortType)
public BuiltInFilters.sortByName(java.lang.String[] args)
| Method Detail |
|---|
public Name.ExhibitFull[] sort(AllExhibitProperties aep,
Name.ExhibitFull[] exhibitNames)
SortIF
sort in interface SortIFpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||