/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/stream/ |
D | Streams.java | 614 public static <E> Stream<E> nonNull(final Collection<E> collection) { in nonNull() method 615 return of(collection).filter(Objects::nonNull); in nonNull() 627 public static <E> Stream<E> nonNull(final E... array) { in nonNull() method 628 return nonNull(of(array)); in nonNull() 639 public static <E> Stream<E> nonNull(final Stream<E> stream) { in nonNull() method 640 return of(stream).filter(Objects::nonNull); in nonNull()
|
/external/gson/gson/src/main/java/com/google/gson/internal/ |
D | NonNullElementWrapperList.java | 32 private E nonNull(E element) { in nonNull() method in NonNullElementWrapperList 40 return delegate.set(index, nonNull(element)); in set() 44 delegate.add(index, nonNull(element)); in add()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/ |
D | IOFileFilterAbstractTest.java | 134 Stream.of(filters).filter(Objects::nonNull).forEach(TesterFalseFileFilter::reset); in resetFalseFilters() 138 Stream.of(filters).filter(Objects::nonNull).forEach(TesterTrueFileFilter::reset); in resetTrueFilters()
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/stream/ |
D | StreamsTest.java | 149 … assertEquals(2, Streams.nonNull(Arrays.asList("A", "B")).collect(Collectors.toList()).size()); 150 …assertEquals(2, Streams.nonNull(Arrays.asList(null, "A", null, "B", null)).collect(Collectors.toLi… 151 … assertEquals(0, Streams.nonNull(Arrays.asList(null, null)).collect(Collectors.toList()).size()); 157 assertEquals(0, Streams.nonNull(input).collect(Collectors.toList()).size());
|
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/ |
D | OatFile.java | 185 return Iterators.size(Iterators.filter(new DexEntryIterator(), Objects::nonNull)); in getDexFiles() 190 Iterators.filter(new DexEntryIterator(), Objects::nonNull), in getDexFiles() 203 return Iterators.size(Iterators.filter(new DexEntryIterator(), Objects::nonNull)); 208 Iterators.filter(new DexEntryIterator(), Objects::nonNull),
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | Futures.java | 550 ListenableFuture<List<V>> nonNull = nullable; 551 return nonNull; 577 ListenableFuture<List<V>> nonNull = nullable; 578 return nonNull;
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Futures.java | 583 ListenableFuture<List<V>> nonNull = nullable; 584 return nonNull; 610 ListenableFuture<List<V>> nonNull = nullable; 611 return nonNull;
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/ |
D | FilterCollectionWriter.java | 166 return writers.stream().filter(Objects::nonNull); in writers()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | ContainerDeserializerBase.java | 174 ClassUtil.nonNull(key, "N/A")); in wrapAndThrow()
|
/external/escapevelocity/src/main/java/com/google/escapevelocity/ |
D | MethodFinder.java | 84 .filter(Objects::nonNull) in uncachedPublicMethodsWithName()
|
/external/doclava/doclet_adapter/src/main/java/com/google/doclava/javadoc/ |
D | ExecutableMemberDocImpl.java | 119 .filter(Objects::nonNull) in thrownExceptions()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | ObjectUtils.java | 652 return Streams.of(values).filter(Objects::nonNull).findFirst().orElse(null); in firstNonNull() 694 …return Streams.of(suppliers).map(s -> s != null ? s.get() : null).filter(Objects::nonNull).findFir… in getFirstNonNull()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | Nullables.java | 173 .filter(Objects::nonNull)
|
D | PropertyBuilderClassifier.java | 372 .filter(Objects::nonNull) in builderMaker()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | IsolatedOptionsData.java | 76 .filter(Objects::nonNull) in getAllOptionDefinitionsForClass()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/builder/ |
D | ReflectionToStringBuilder.java | 129 return Streams.nonNull(array).map(Objects::toString).toArray(String[]::new); in toNoNullStringArray()
|
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/ |
D | OptionalEmptinessHandler.java | 99 .filter(Objects::nonNull) in onMatchTopLevelClass()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/text/ |
D | ExtendedMessageFormat.java | 526 return coll.stream().anyMatch(Objects::nonNull); in containsElements()
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | EarlyValidator.java | 792 .filter(Objects::nonNull) in validateParameterTypesForCrossProfileMethod() 1013 .filter(Objects::nonNull) in validateCallbackOnCacheableMethod() 1037 .filter(Objects::nonNull) in hasCallback()
|
D | Processor.java | 369 .filter(Objects::nonNull) in findAllCrossProfileMethods()
|
/external/libtextclassifier/java/src/com/android/textclassifier/ |
D | TextClassifierImpl.java | 655 if (actionIntents.stream().anyMatch(Objects::nonNull)) { in createClassificationResult() 683 .filter(Objects::nonNull)
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/exception/ |
D | ExceptionUtils.java | 143 …odNames).map(m -> getCauseUsingMethodName(throwable, m)).filter(Objects::nonNull).findFirst().orEl… in getCause()
|
/external/TestParameterInjector/src/main/java/com/google/testing/junit/testparameterinjector/ |
D | TestParametersMethodProcessor.java | 164 .filter(Objects::nonNull) in processTest()
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | BasicAnnotationProcessor.java | 172 .filter(Objects::nonNull) in getSupportedAnnotationTypeElements()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | SupplementalData.java | 607 .filter(Objects::nonNull) in resolveLocaleId()
|