Home
last modified time | relevance | path

Searched refs:ValueDouble (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DValue.java53 return ValueDouble.create(value); in doubleValue()
104 abstract static class ValueDouble extends Value { class in Value
106 ValueDouble() {} in ValueDouble() method in Value.ValueDouble
124 static ValueDouble create(double value) { in create()
DMetric.java23 import io.opencensus.metrics.export.Value.ValueDouble;
123 value instanceof ValueDouble, "Type mismatch: %s, %s.", type, valueClassName); in checkTypeMatch()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DValueTest.java30 import io.opencensus.metrics.export.Value.ValueDouble;
63 assertThat(value).isInstanceOf(ValueDouble.class); in createAndGet_ValueDouble()
64 assertThat(((ValueDouble) value).getValue()).isWithin(TOLERANCE).of(-34.56); in createAndGet_ValueDouble()
111 ValueDouble.create(1.0), in testMatch()