Class FixedQuantity


  • public class FixedQuantity
    extends java.lang.Object
    • Field Summary

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

      Constructors 
      Constructor Description
      FixedQuantity​(java.lang.String s, double d)  
    • 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

      • FixedQuantity

        public FixedQuantity​(java.lang.String s,
                             double d)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getValue

        public double getValue()