|
ProgramixGenericLib v4.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.programix.collections.GeneralStringComparator.LengthTreatment
public static final class GeneralStringComparator.LengthTreatment
Defines how the length of the string should be considered when being compared to other String's.
| Field Summary | |
|---|---|
static GeneralStringComparator.LengthTreatment |
LONGEST_FIRST
The longest String's should come first. |
static GeneralStringComparator.LengthTreatment |
NONE
Nothing about the length of the String should be given special consideration. |
static GeneralStringComparator.LengthTreatment |
SHORTEST_FIRST
The shortest String's should come first. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Use this method instead of == to be sure that serialization or multiple class loaders have not resulted in multiple instances. |
String |
getName()
|
static GeneralStringComparator.LengthTreatment[] |
getValues()
Returns an array of all the legal values. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final GeneralStringComparator.LengthTreatment NONE
public static final GeneralStringComparator.LengthTreatment SHORTEST_FIRST
public static final GeneralStringComparator.LengthTreatment LONGEST_FIRST
| Method Detail |
|---|
public String getName()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic static GeneralStringComparator.LengthTreatment[] getValues()
|
ProgramixGenericLib v4.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||