package com.vaadin.data.util;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
*
*/
public static class DefaultPropertyValueComparator implements
- Comparator<Object> {
+ Comparator<Object>, Serializable {
public int compare(Object o1, Object o2) {
int r = 0;
package com.vaadin.data.util;
+import java.io.Serializable;
import java.util.Comparator;
import com.vaadin.data.Container;
* The <code>ItemSorter</code> interface can be used in <code>Sortable</code>
* implementations to provide a custom sorting method. The interface
*/
-public interface ItemSorter extends Comparator<Object>, Cloneable {
+public interface ItemSorter extends Comparator<Object>, Cloneable, Serializable {
/**
* Sets the parameters for an upcoming sort operation. The parameters