Package com.j_spaces.core.cache
Class SimpleCompoundIndexValueHolder
java.lang.Object
com.j_spaces.core.cache.SimpleCompoundIndexValueHolder
- All Implemented Interfaces:
ICompoundIndexValueHolder,Comparable<ICompoundIndexValueHolder>
Holder for simple compound index value of 2 segments
- Since:
- 9.0
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.j_spaces.core.cache.ICompoundIndexValueHolder
ICompoundIndexValueHolder.HighEdge, ICompoundIndexValueHolder.LowEdge -
Constructor Summary
ConstructorsConstructorDescriptionSimpleCompoundIndexValueHolder(ISpaceCompoundIndexSegment[] segments, ServerEntry entry) SimpleCompoundIndexValueHolder(Object val1, Object val2) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintgetValueBySegment(int segmentNumber) Object[]inthashCode()voidsetValueForSegment(Object value, int segmentNumber)
-
Constructor Details
-
SimpleCompoundIndexValueHolder
-
SimpleCompoundIndexValueHolder
-
-
Method Details
-
getValueBySegment
- Specified by:
getValueBySegmentin interfaceICompoundIndexValueHolder
-
getNumSegments
public int getNumSegments()- Specified by:
getNumSegmentsin interfaceICompoundIndexValueHolder
-
setValueForSegment
- Specified by:
setValueForSegmentin interfaceICompoundIndexValueHolder
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<ICompoundIndexValueHolder>
-
getValues
- Specified by:
getValuesin interfaceICompoundIndexValueHolder
-