Class ConstantValue<T>

  • All Implemented Interfaces:
    Value<T>

    public final class ConstantValue<T>
    extends java.lang.Object
    implements Value<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T value  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstantValue​(T value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      T get​(@NotNull MeasureContext context)  
      • Methods inherited from class java.lang.Object

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

      • value

        private final T value
    • Constructor Detail

      • ConstantValue

        public ConstantValue​(T value)
    • Method Detail

      • get

        public T get()