Class BoundConstants.TypedConstant

  • Enclosing class:
    BoundConstants

    private static final class BoundConstants.TypedConstant
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Type<?> type  
      (package private) java.lang.Object value  
    • Constructor Summary

      Constructors 
      Constructor Description
      TypedConstant​(java.lang.Object value, Type<?> type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        final java.lang.Object value
      • type

        final Type<?> type
    • Constructor Detail

      • TypedConstant

        TypedConstant​(java.lang.Object value,
                      Type<?> type)
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object