Package org.refcodes.mixin
Interface KeyAccessor<K>
-
- 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
Nested Classes Modifier and Type Interface Description static interfaceKeyAccessor.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 interfaceKeyAccessor.KeyMutator<K>Provides a mutator for a key property for e.g. key/value-pair.static interfaceKeyAccessor.KeyProperty<K>Provides a key property for e.g. key/value-pair.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KgetKey()Retrieves the key from the key property.
-
-
-
Method Detail
-
getKey
K getKey()
Retrieves the key from the key property.- Returns:
- The key stored by the key property.
-
-