org.eclipse.nebula.widgets.nattable.config
Class NullComparator
java.lang.Object
org.eclipse.nebula.widgets.nattable.config.NullComparator
- All Implemented Interfaces:
- Serializable, Comparator<Object>
public class NullComparator
- extends Object
- implements Comparator<Object>, Serializable
GlazedLists require that the comparator be set to 'null' if a column is not
sortable. If a null value is set in the IConfigRegistry it will
attempt to find other matching values. This comparator can be set in the
ConfigRegistry to indicate that the column can not be sorted.
See SortableGridExample
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullComparator
public NullComparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator<Object>
Copyright © 2015. All rights reserved.