Class ConstantValued

  • All Implemented Interfaces:
    Valued, Named

    public class ConstantValued
    extends java.lang.Object
    implements Valued
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Dimension dimension  
      (package private) java.lang.String name  
      (package private) double value  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstantValued​(java.lang.String s, Dimension d, double v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      double getValue()  
      • Methods inherited from class java.lang.Object

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

      • name

        java.lang.String name
      • value

        double value
    • Constructor Detail

      • ConstantValued

        public ConstantValued​(java.lang.String s,
                              Dimension d,
                              double v)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Named
      • getValue

        public double getValue()
        Specified by:
        getValue in interface Valued