Class CompoundValueTuple<O>
- java.lang.Object
-
- com.googlecode.cqengine.index.compound.support.CompoundValueTuple<O>
-
public class CompoundValueTuple<O> extends Object
A tuple (ordered list) of values, extracted from the fields of an object, according to, and in the same order as, theAttribute
s encapsulated in aCompoundAttribute
. The combination of values encapsulated in objects of this type are used as keys in compound indexes. This object implementsObject.equals(Object)
andObject.hashCode()
where the hash code is calculated from the combination of values.- Author:
- Niall Gallagher
-
-
Constructor Summary
Constructors Constructor Description CompoundValueTuple(List<?> attributeValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Iterable<Object>
getAttributeValues()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CompoundValueTuple
public CompoundValueTuple(List<?> attributeValues)
-
-