Interface IndexProperties
-
public interface IndexPropertiesNo instance of implementing classes is expected to equal any instance other than itself. Index properties are cached in tuples and each tuple carries its unique instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Type_> Type_getIndexerKey(int fromInclusive, int toExclusive)<Type_> Type_getProperty(int index)Retrieves index property at a given position.
-
-
-
Method Detail
-
getProperty
<Type_> Type_ getProperty(int index)
Retrieves index property at a given position.- Type Parameters:
Type_-ComparisonIndexerwill expect this to implementComparable.- Parameters:
index-- Returns:
- never null
-
getIndexerKey
<Type_> Type_ getIndexerKey(int fromInclusive, int toExclusive)- Type Parameters:
Type_- any type understanding that two keys may point to different tuples unless their instances are equal- Parameters:
fromInclusive- position of the first index property to be part of the key, inclusivetoExclusive- position of the last index property to be part of the key, exclusive- Returns:
- never null;
-
-