All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jdsl.core.ref.StringComparator
o
is a String
and not null.
String
is greater than another
String
is greater than or equal to another
String
is less than another
String
is greater than another
public StringComparator()
public boolean isComparable(Object o)
o
is a String
and not null.
true
if o
can be compared,
false
otherwise.
public boolean isEqualTo(Object a, Object b)
true
if the two strings are lexicographically
equivalent, false
otherwise.
null
or not a String
.
public boolean isGreaterThan(Object a, Object b)
String
is greater than another
true
if a
lexicographically
greater than b
, false
otherwise.
null
or not a String
.
public boolean isGreaterThanOrEqualTo(Object a, Object b)
String
is greater than or equal to another
true
if a
lexicographically
greater than or equal to b
, false
otherwise.
null
or not a String
.
public boolean isLessThan(Object a, Object b)
String
is less than another
true
if a
lexicographically
less than b
, false
otherwise.
null
or not a String
.
public boolean isLessThanOrEqualTo(Object a, Object b)
String
is greater than another
true
if a
lexicographically
less than or equal to b
, false
otherwise.
null
or not a String
.
All Packages Class Hierarchy This Package Previous Next Index