HomeSort by relevance Sort by last modified time
    Searched defs:OptionalDouble (Results 1 - 6 of 6) sorted by null

  /libcore/ojluni/src/main/java/java/util/
OptionalDouble.java 45 public final class OptionalDouble {
49 private static final OptionalDouble EMPTY = new OptionalDouble();
60 * @implNote generally only one empty instance, {@link OptionalDouble#EMPTY},
63 private OptionalDouble() {
69 * Returns an empty {@code OptionalDouble} instance. No value is present for this
70 * OptionalDouble.
77 * @return an empty {@code OptionalDouble}.
79 public static OptionalDouble empty() {
88 private OptionalDouble(double value)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OptionalDoubleTest.java 24 import java.util.OptionalDouble;
33 assertSame(OptionalDouble.empty(), OptionalDouble.empty());
37 assertEquals(56.0, OptionalDouble.of(56.0).getAsDouble());
40 OptionalDouble.empty().getAsDouble();
47 assertTrue(OptionalDouble.of(56.0).isPresent());
48 assertFalse(OptionalDouble.empty().isPresent());
53 OptionalDouble.empty().ifPresent(alwaysFails);
57 OptionalDouble.of(56.0).ifPresent(recorder);
62 assertEquals(57.0, OptionalDouble.empty().orElse(57.0))
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
MinMaxTest.java 33 import java.util.OptionalDouble;
94 assertEquals(DoubleStream.empty().min(), OptionalDouble.empty());
95 assertEquals(DoubleStream.empty().max(), OptionalDouble.empty());
  /external/protobuf/csharp/src/Google.Protobuf.Conformance/
Conformance.cs 192 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestAllTypes), global::Conformance.TestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OptionalBoolWrapper", "OptionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint32Wrapper", "OptionalUint64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapper", "OptionalStringWrapper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "RepeatedInt32Wrapper", "RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedUint64Wrapper", "RepeatedFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringWrapper", "RepeatedBytesWrapper", "OptionalDuration", "OptionalTimestamp", "OptionalFieldMask", "OptionalStruct", "OptionalAny", "OptionalValue", "RepeatedDuration", "RepeatedTimestamp", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny", "RepeatedValue", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12" }, new[]{ "OneofField" }, new[]{ typeof(global::Conformance.TestAllTypes.Types.NestedEnum) }, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestAllTypes.Types.NestedMessage), global::Conformance.TestAllTypes.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null),
    [all...]
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/current/
core.jar 

Completed in 166 milliseconds