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 interface 
    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

    Modifier and Type
    Method
    Description
    Retrieves the key from the key property.
  • Method Details

    • getKey

      K getKey()
      Retrieves the key from the key property.
      Returns:
      The key stored by the key property.