Home
last modified time | relevance | path

Searched refs:OptionalDouble (Results 1 – 8 of 8) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DStreams.java29 import java.util.OptionalDouble;
136 public static DoubleStream stream(OptionalDouble optional) { in stream()
934 public static OptionalDouble findLast(DoubleStream stream) {
937 return boxedLast.isPresent() ? OptionalDouble.of(boxedLast.get()) : OptionalDouble.empty();
/external/guava/guava-tests/test/com/google/common/collect/
DStreamsTest.java30 import java.util.OptionalDouble;
171 assertThat(stream(OptionalDouble.empty())).isEmpty(); in testStream_optionalDouble()
172 assertThat(stream(OptionalDouble.of(5.0))).containsExactly(5.0); in testStream_optionalDouble()
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java122 import java.util.OptionalDouble;
217 .put(OptionalDouble.class, OptionalDouble.empty())
DFreshValueGenerator.java114 import java.util.OptionalDouble;
562 private OptionalDouble generateOptionalDouble() { in generateOptionalDouble()
563 return OptionalDouble.of(generateDouble()); in generateOptionalDouble()
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java105 import java.util.OptionalDouble;
174 assertEquals(OptionalDouble.empty(), ArbitraryInstances.get(OptionalDouble.class)); in testGet_primitives()
DFreshValueGeneratorTest.java100 import java.util.OptionalDouble;
478 assertFreshInstance(new TypeToken<OptionalDouble>() {}); in testOptionalDouble()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs544 public double OptionalDouble { property in ProtobufTestMessages.Proto3.TestAllTypesProto3
1775 …bufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) r… in Equals()
1903 …if (OptionalDouble != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Get… in GetHashCode()
2071 if (OptionalDouble != 0D) { in WriteTo()
2073 output.WriteDouble(OptionalDouble); in WriteTo()
2375 if (OptionalDouble != 0D) { in CalculateSize()
2637 if (other.OptionalDouble != 0D) { in MergeFrom()
2638 OptionalDouble = other.OptionalDouble; in MergeFrom()
2962 OptionalDouble = input.ReadDouble(); in MergeFrom()
/external/auto/value/userguide/
Dbuilders-howto.md314 [`OptionalLong`], and [`OptionalDouble`]. You can use those in the same way. For
339 [`OptionalDouble`]: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalDouble.html