public class TypedTupleElementComparator extends java.lang.Object implements StreamComparator<TupleInputStream>, java.util.Comparator<java.lang.Object>
Constructor and Description |
---|
TypedTupleElementComparator() |
TypedTupleElementComparator(java.lang.Class type,
java.util.Comparator comparator) |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object lhs,
java.lang.Object rhs) |
int |
compare(TupleInputStream lhsStream,
TupleInputStream rhsStream) |
public TypedTupleElementComparator()
public TypedTupleElementComparator(java.lang.Class type, java.util.Comparator comparator)
public int compare(java.lang.Object lhs, java.lang.Object rhs)
compare
in interface java.util.Comparator<java.lang.Object>
public int compare(TupleInputStream lhsStream, TupleInputStream rhsStream)
compare
in interface StreamComparator<TupleInputStream>
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.