- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 271 for APPLY (0.01 sec)
-
android/guava-tests/test/com/google/common/base/FunctionsTest.java
assertEquals(p1.apply(1.0f), p2.apply(1.0f)); assertEquals(p1.apply(5.0f), p2.apply(5.0f)); } public void testForPredicate() { Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue()); Function<Object, Boolean> alwaysFalse = Functions.forPredicate(Predicates.alwaysFalse()); assertTrue(alwaysTrue.apply(0)); assertFalse(alwaysFalse.apply(0));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
assertEquals(p1.apply(1.0f), p2.apply(1.0f)); assertEquals(p1.apply(5.0f), p2.apply(5.0f)); } public void testForPredicate() { Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue()); Function<Object, Boolean> alwaysFalse = Functions.forPredicate(Predicates.alwaysFalse()); assertTrue(alwaysTrue.apply(0)); assertFalse(alwaysFalse.apply(0));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() { Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class); assertTrue(isComparable.apply(1)); assertTrue(isComparable.apply(2.0f)); assertTrue(isComparable.apply("")); assertFalse(isComparable.apply(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() { Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class); assertTrue(isComparable.apply(1)); assertTrue(isComparable.apply(2.0f)); assertTrue(isComparable.apply("")); assertFalse(isComparable.apply(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( ImmutableMap.Builder<K, V>::new, (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)), ImmutableMap.Builder::combine, ImmutableMap.Builder::buildOrThrow); } static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
/** * Converts a TermQuery to a QueryBuilder with the given boost value. * * @param context the query context * @param termQuery the term query to convert * @param boost the boost value to apply * @return the converted QueryBuilder */ protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} refresh(); } /** * Adds a bad word to the suggest index. * * @param badWord The bad word to add. * @param apply true to apply the changes immediately. */ public void addBadWord(final String badWord, final boolean apply) { suggester.indexer().addBadWord(badWord, apply); refresh(); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Arithmetic apply(Arithmetic arithmetic) { return new ForwardingArithmetic(arithmetic); } }); tester.testForwarding( ParameterTypesDifferent.class, new Function<ParameterTypesDifferent, ParameterTypesDifferent>() { @Override public ParameterTypesDifferent apply(ParameterTypesDifferent delegate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
build.gradle.kts
if (project.name == "module-tests") return@subprojects apply(plugin = "checkstyle") apply(plugin = "ru.vyarus.animalsniffer") // The 'java' plugin has been applied, but it is not compatible with the Android plugins. // These are applied inside the okhttp module for that case specifically if (project.name != "okhttp") { apply(plugin = "biz.aQute.bnd.builder") if (project.name != "okhttp-testing-support") {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 11.5K bytes - Viewed (1) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Arithmetic apply(Arithmetic arithmetic) { return new ForwardingArithmetic(arithmetic); } }); tester.testForwarding( ParameterTypesDifferent.class, new Function<ParameterTypesDifferent, ParameterTypesDifferent>() { @Override public ParameterTypesDifferent apply(ParameterTypesDifferent delegate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0)