- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for firstMatch (0.23 sec)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool"); assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants"); assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent(); assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool"); assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants"); assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent(); assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
FluentIterable.from(TypeToken.of(clazz).getTypes()) .transform(TypeToken::getRawType) .transformAndConcat(c -> asList(c.getDeclaredMethods())) .firstMatch( m -> m.getName().equals("writeReplace") && m.getParameterTypes().length == 0 // Only package-private methods are a problem.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
FluentIterable.from(TypeToken.of(clazz).getTypes()) .transform(TypeToken::getRawType) .transformAndConcat(c -> asList(c.getDeclaredMethods())) .firstMatch( m -> m.getName().equals("writeReplace") && m.getParameterTypes().length == 0 // Only package-private methods are a problem.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now. public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { return Iterables.<E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluent
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now. public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { return Iterables.<E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluent
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const PT_DENY_ATTACH ideal-int pkg syscall (darwin-arm64), const PT_DETACH = 11 pkg syscall (darwin-arm64), const PT_DETACH ideal-int pkg syscall (darwin-arm64), const PT_FIRSTMACH = 32 pkg syscall (darwin-arm64), const PT_FIRSTMACH ideal-int pkg syscall (darwin-arm64), const PT_FORCEQUOTA = 30 pkg syscall (darwin-arm64), const PT_FORCEQUOTA ideal-int pkg syscall (darwin-arm64), const PT_KILL = 8
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
api/go1.txt
pkg syscall (darwin-386), const PT_CONTINUE ideal-int pkg syscall (darwin-386), const PT_DENY_ATTACH ideal-int pkg syscall (darwin-386), const PT_DETACH ideal-int pkg syscall (darwin-386), const PT_FIRSTMACH ideal-int pkg syscall (darwin-386), const PT_FORCEQUOTA ideal-int pkg syscall (darwin-386), const PT_KILL ideal-int pkg syscall (darwin-386), const PT_READ_D ideal-int pkg syscall (darwin-386), const PT_READ_I ideal-int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
api/go1.1.txt
pkg syscall (darwin-386), const PT_CONTINUE = 7 pkg syscall (darwin-386), const PT_DENY_ATTACH = 31 pkg syscall (darwin-386), const PT_DETACH = 11 pkg syscall (darwin-386), const PT_FIRSTMACH = 32 pkg syscall (darwin-386), const PT_FORCEQUOTA = 30 pkg syscall (darwin-386), const PT_KILL = 8 pkg syscall (darwin-386), const PT_READ_D = 2 pkg syscall (darwin-386), const PT_READ_I = 1
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0)