Class AbstractKey

  • All Implemented Interfaces:
    Key

    public abstract class AbstractKey
    extends Object
    implements Key
    This is an abstract standard implementation of a custom key.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • AbstractKey

        protected AbstractKey​(String value)
        Builds the object with the custom key value as string
        Parameters:
        value - value of key as String
    • Method Detail

      • value

        public final String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object