|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jstore.BasicStorable.IdComparator<T>
com.jalios.jcms.Data.DataNameComparator<T>
T - public static class Data.DataNameComparator<T extends Data>
This comparator compares two Data using their Data Name. If both compared Data have the same Data Name, compare them using their id.
| Constructor Summary | |
|---|---|
Data.DataNameComparator(java.lang.String language)
|
|
| Method Summary | |
|---|---|
int |
compare(T storable1,
T storable2)
|
| Methods inherited from class com.jalios.jstore.BasicStorable.IdComparator |
|---|
compareStorableId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public Data.DataNameComparator(java.lang.String language)
| Method Detail |
|---|
public int compare(T storable1,
T storable2)
compare in interface java.util.Comparator<T extends Data>compare in class BasicStorable.IdComparator<T extends Data>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||