|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.tidalwave.text.DisplayableComparator
public final class DisplayableComparator
A Comparator
for classes implementing the Displayable
role.
FIXME: don't use it, it requires the objects to statically implement Displayable
Constructor Summary | |
---|---|
DisplayableComparator()
|
Method Summary | |
---|---|
int |
compare(Displayable d1,
Displayable d2)
|
static DisplayableComparator |
getInstance()
|
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 DisplayableComparator()
Method Detail |
---|
@Nonnull public static DisplayableComparator getInstance()
public int compare(@Nonnull Displayable d1, @Nonnull Displayable d2)
compare
in interface java.util.Comparator<Displayable>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |