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:
public static class DefaultItemSorter.DefaultPropertyValueComparator extends Object implements Comparator<Object>, Serializable
Provides a default comparator used for comparing
Property
values. TheDefaultPropertyValueComparator
assumes all objects it compares can be cast to Comparable.See Also:
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertyValueComparator()
-
-
-
Method Detail
-
compare
public int compare(Object o1, Object o2)
Specified by:
compare
in interfaceComparator<Object>
-
-