Class TestMeasure

  • All Implemented Interfaces:
    Measure

    @Immutable
    public class TestMeasure
    extends java.lang.Object
    implements Measure
    • Constructor Detail

      • TestMeasure

        public TestMeasure()
    • Method Detail

      • createMeasure

        public static TestMeasure createMeasure​(double doubleValue)
      • createMeasure

        public static TestMeasure createMeasure​(int intValue)
      • createMeasure

        public static TestMeasure createMeasure​(long longValue)
      • createMeasure

        public static TestMeasure createMeasure​(java.lang.String stringValue)
      • createMeasure

        public static TestMeasure createMeasure​(boolean booleanValue)
      • getIntValue

        public int getIntValue()
        Description copied from interface: Measure
        The value of this measure as a integer.
        Specified by:
        getIntValue in interface Measure
      • getLongValue

        public long getLongValue()
        Description copied from interface: Measure
        The value of this measure as a long.
        Specified by:
        getLongValue in interface Measure
      • getDoubleValue

        public double getDoubleValue()
        Description copied from interface: Measure
        The value of this measure as a double.
        Specified by:
        getDoubleValue in interface Measure
      • getStringValue

        public java.lang.String getStringValue()
        Description copied from interface: Measure
        The value of this measure as a string.
        Specified by:
        getStringValue in interface Measure
      • getBooleanValue

        public boolean getBooleanValue()
        Description copied from interface: Measure
        The value of this measure as a boolean.
        Specified by:
        getBooleanValue in interface Measure