|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.beancmpr.matchables.SimpleMatchable
public class SimpleMatchable
A simple implementation of a Matchable
.
Constructor Summary | |
---|---|
SimpleMatchable(List<? extends Comparable<?>> keys,
List<?> values,
List<?> others,
MatchableMetaData metaData)
Only Constructor. |
Method Summary | |
---|---|
MatchKey |
getKey()
Get the key to match on. |
Iterable<?> |
getKeys()
Get the keys. |
MatchableMetaData |
getMetaData()
Get the meta data that describe this matchable. |
Iterable<?> |
getOthers()
Get the others. |
Iterable<?> |
getValues()
Get the values for comparison. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleMatchable(List<? extends Comparable<?>> keys, List<?> values, List<?> others, MatchableMetaData metaData)
keys
- The key values.values
- The values to compare.others
- Other values.Method Detail |
---|
public MatchKey getKey()
Matchable
getKey
in interface Matchable
public Iterable<?> getKeys()
Matchable
getKeys
in interface Matchable
public Iterable<?> getValues()
Matchable
getValues
in interface Matchable
public Iterable<?> getOthers()
Matchable
getOthers
in interface Matchable
public MatchableMetaData getMetaData()
Matchable
getMetaData
in interface Matchable
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |