Interface IndexProperties


  • public interface IndexProperties
    No 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 Detail

      • getProperty

        <Type_> Type_ getProperty​(int index)
        Retrieves index property at a given position.
        Type Parameters:
        Type_ - ComparisonIndexer will expect this to implement Comparable.
        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, inclusive
        toExclusive - position of the last index property to be part of the key, exclusive
        Returns:
        never null;