Searched refs:OptionalDouble (Results 1 – 8 of 8) sorted by relevance
29 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();
30 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()
122 import java.util.OptionalDouble;217 .put(OptionalDouble.class, OptionalDouble.empty())
114 import java.util.OptionalDouble;562 private OptionalDouble generateOptionalDouble() { in generateOptionalDouble()563 return OptionalDouble.of(generateDouble()); in generateOptionalDouble()
105 import java.util.OptionalDouble;174 assertEquals(OptionalDouble.empty(), ArbitraryInstances.get(OptionalDouble.class)); in testGet_primitives()
100 import java.util.OptionalDouble;478 assertFreshInstance(new TypeToken<OptionalDouble>() {}); in testOptionalDouble()
544 public double OptionalDouble { property in ProtobufTestMessages.Proto3.TestAllTypesProto31775 …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()
314 [`OptionalLong`], and [`OptionalDouble`]. You can use those in the same way. For339 [`OptionalDouble`]: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalDouble.html