- Type Parameters:
K
- The type of the key to be used.
- All Known Subinterfaces:
KeyAccessor.KeyProperty<K>
public interface KeyAccessor<K>
Provides an accessor for a key property for e.g. key/value-pair.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
KeyAccessor.KeyBuilder<K,
B extends KeyAccessor.KeyBuilder<K, B>> Provides a builder method for a key property returning the builder for applying multiple build operations.static interface
Provides a mutator for a key property for e.g. key/value-pair.static interface
Provides a key property for e.g. key/value-pair. -
Method Summary
-
Method Details
-
getKey
K getKey()Retrieves the key from the key property.- Returns:
- The key stored by the key property.
-