it.tidalwave.text
Class DisplayableComparator
java.lang.Object
it.tidalwave.text.DisplayableComparator
- All Implemented Interfaces:
- Serializable, Comparator<Displayable>
public final class DisplayableComparator
- extends Object
- implements Comparator<Displayable>, Serializable
A Comparator
for classes implementing the Displayable
role.
FIXME: don't use it, it requires the objects to statically implement Displayable
- Version:
- $Id$
- Author:
- Fabrizio Giudici
- See Also:
- Serialized Form
- Status: draft API
- Will be removed (FIXME)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisplayableComparator
public DisplayableComparator()
getInstance
@Nonnull
public static DisplayableComparator getInstance()
compare
public int compare(@Nonnull
Displayable d1,
@Nonnull
Displayable d2)
- Specified by:
compare
in interface Comparator<Displayable>
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.