public sealed interface IndexProperties
Cached in tuples; each tuple carries its unique instance.

Instances are shallow immutable and implement Object.equals(Object) and Object.hashCode(). If two instances contain elements which are equal, they must be equal.

  • Method Summary

    Modifier and Type
    Method
    Description
    <Type_> Type_
    toKey(int id)
    Retrieves index property at a given position.
  • Method Details

    • toKey

      <Type_> Type_ toKey(int id)
      Retrieves index property at a given position.
      Type Parameters:
      Type_ - ComparisonIndexer will expect this to implement Comparable. EqualsIndexer will treat items as the same if they are equal.
      Parameters:
      id - Maps to a single Indexer instance in the indexer chain.
      Returns:
      never null