Interface IndexProperties
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 TypeMethodDescription<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_-ComparisonIndexerwill expect this to implementComparable.EqualsIndexerwill treat items as the same if they are equal.- Parameters:
id- Maps to a singleIndexerinstance in the indexer chain.- Returns:
- never null
-