T
- public class JavaSerializationComparator<T extends Serializable & Comparable<T>> extends DeserializerComparator<T>
A RawComparator
that uses a JavaSerialization
Deserializer
to deserialize objects that are then compared via
their Comparable
interfaces.
JavaSerialization
Constructor and Description |
---|
JavaSerializationComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |
compare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public JavaSerializationComparator() throws IOException
IOException
Copyright © 2010 The Apache Software Foundation