Class Instrument.OptionalQuantity<S>

  • Enclosing interface:
    Instrument

    public static class Instrument.OptionalQuantity<S>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OptionalQuantity​(boolean used, S otherwise)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      S getValue()  
      boolean isUsed()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OptionalQuantity

        public OptionalQuantity​(boolean used,
                                S otherwise)
    • Method Detail

      • isUsed

        public boolean isUsed()
      • getValue

        public S getValue()