public class PojoPairComparator<T1,T2> extends TypePairComparator<T1,T2> implements Serializable
| Constructor and Description |
|---|
PojoPairComparator(int[] keyPositions1,
Field[] keyFields1,
int[] keyPositions2,
Field[] keyFields2,
TypeComparator<Object>[] comparators1,
TypeComparator<Object>[] comparators2) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareToReference(T2 candidate) |
boolean |
equalToReference(T2 candidate) |
void |
setReference(T1 reference) |
public PojoPairComparator(int[] keyPositions1,
Field[] keyFields1,
int[] keyPositions2,
Field[] keyFields2,
TypeComparator<Object>[] comparators1,
TypeComparator<Object>[] comparators2)
public void setReference(T1 reference)
setReference in class TypePairComparator<T1,T2>public boolean equalToReference(T2 candidate)
equalToReference in class TypePairComparator<T1,T2>public int compareToReference(T2 candidate)
compareToReference in class TypePairComparator<T1,T2>Copyright © 2014 The Apache Software Foundation. All rights reserved.