Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/Objects/
DBasicObjectsTest.java181 assertFalse(Objects.nonNull(null)); in testNonNull()
182 assertTrue(Objects.nonNull(Objects.class)); in testNonNull()
/libcore/ojluni/src/main/java/sun/util/
DPropertyResourceBundleCharset.java87 if (Objects.nonNull(cdISO_8859_1)) { in decodeLoop()
/libcore/luni/src/test/java/libcore/java/util/
DObjectsTest.java288 assertFalse(Objects.nonNull(null)); in test_nonNull()
289 assertTrue(Objects.nonNull(new Hello())); in test_nonNull()
/libcore/ojluni/src/main/java/java/util/
DObjects.java268 public static boolean nonNull(Object obj) { in nonNull() method in Objects
/libcore/ojluni/annotations/sdk/nullability/java/util/
DObjects.annotated.java56 public static boolean nonNull(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeExcep… in nonNull() method in Objects
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DIterateTest.java60 …Factory.ofSupplier("ref.nullCheck", () -> Stream.iterate(10, Objects::nonNull, x -> x > 0 ? x - 1 … in makeIterateStreamsTestData()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java4498 Stream.of(clauses).filter(c -> Stream.of(c).anyMatch(Objects::nonNull)).forEach(clause -> { in loop()
4532 Stream<Class<?>> cstream = fini.stream().filter(Objects::nonNull).map(MethodHandle::type) in loop()
4602 final List<Class<?>> longest = mhs.filter(Objects::nonNull). in longestParameterList()
4623 if (init.stream().filter(Objects::nonNull).map(MethodHandle::type). in loopChecks1b()
4631 … if (fini.stream().filter(Objects::nonNull).map(MethodHandle::type).map(MethodType::returnType). in loopChecks1cd()
4637 if (!pred.stream().filter(Objects::nonNull).findFirst().isPresent()) { in loopChecks1cd()
4640 … if (pred.stream().filter(Objects::nonNull).map(MethodHandle::type).map(MethodType::returnType). in loopChecks1cd()
4647 …if (Stream.of(step, pred, fini).flatMap(List::stream).filter(Objects::nonNull).map(MethodHandle::t… in loopChecks2()
/libcore/api/
Dcurrent.txt14493 method public static boolean nonNull(@Nullable Object);