Class NamedKey


  • public class NamedKey
    extends java.lang.Object
    A named key.
    Since:
    0.0.1
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedKey()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getKey()
      key(String) The value of the entry: a casper `Key` type.
      java.lang.String getName()
      name(String) The name of the entry.
      int hashCode()  
      void setKey​(java.lang.String key)
      key(String) The value of the entry: a casper `Key` type.
      void setName​(java.lang.String name)
      name(String) The name of the entry.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NamedKey

        public NamedKey()
    • Method Detail

      • getKey

        public java.lang.String getKey()
        key(String) The value of the entry: a casper `Key` type.
      • getName

        public java.lang.String getName()
        name(String) The name of the entry.
      • setKey

        public void setKey​(java.lang.String key)
        key(String) The value of the entry: a casper `Key` type.
      • setName

        public void setName​(java.lang.String name)
        name(String) The name of the entry.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object