We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.data.util.
Class DefaultItemSorter.DefaultPropertyValueComparator
java.lang.Object
com.vaadin.data.util.DefaultItemSorter.DefaultPropertyValueComparator
All Implemented Interfaces:
Enclosing class:
- extends Object
- implements Comparator<Object>, Serializable
public static class DefaultItemSorter.DefaultPropertyValueComparator
Provides a default comparator used for comparing Property
values.
The DefaultPropertyValueComparator
assumes all objects it
compares can be cast to Comparable.
See Also:
Constructor Summary | |
---|---|
DefaultItemSorter.DefaultPropertyValueComparator()
|
Method Summary | |
---|---|
int |
compare(Object o1,
Object o2)
|
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 |
---|
DefaultItemSorter.DefaultPropertyValueComparator
public DefaultItemSorter.DefaultPropertyValueComparator()
Method Detail |
---|
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interfaceComparator<Object>