Class NamedArg<T,​P extends AbstractCLType>


  • public class NamedArg<T,​P extends AbstractCLType>
    extends java.lang.Object
    Named arguments to a contract
    Since:
    0.0.1
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedArg()  
    • 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)  
      AbstractCLValue<T,​P> getClValue()
      The second value in the array is a CLValue type
      java.lang.String getType()
      The first value in the array is the type of the arg
      int hashCode()  
      void setClValue​(AbstractCLValue<T,​P> clValue)
      The second value in the array is a CLValue type
      void setType​(java.lang.String type)
      The first value in the array is the type of the arg
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • NamedArg

        public NamedArg()
    • Method Detail

      • getType

        public java.lang.String getType()
        The first value in the array is the type of the arg
      • getClValue

        public AbstractCLValue<T,​P> getClValue()
        The second value in the array is a CLValue type
      • setType

        public void setType​(java.lang.String type)
        The first value in the array is the type of the arg
      • setClValue

        public void setClValue​(AbstractCLValue<T,​P> clValue)
        The second value in the array is a CLValue type
      • 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