Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for Apply (0.01 sec)

  1. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                .catching(
                    Throwable.class,
                    new Function<Throwable, Class<?>>() {
                      @Override
                      public Class<?> apply(Throwable input) {
                        return input.getClass();
                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Functions.java

          this.g = checkNotNull(g);
          this.f = checkNotNull(f);
        }
    
        @Override
        @ParametricNullness
        public C apply(@ParametricNullness A a) {
          return g.apply(f.apply(a));
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FunctionComposition) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            removeIf(
                list,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryCommand.java

                final DefaultQueryBuilderFunction builder) {
            final DefaultQueryBuilder defaultQuery = createDefaultQueryBuilder();
            defaultQuery.add(builder.apply(fessConfig.getIndexFieldTitle(), fessConfig.getQueryBoostTitleAsDecimal().floatValue()));
            defaultQuery.add(builder.apply(fessConfig.getIndexFieldContent(), fessConfig.getQueryBoostContentAsDecimal().floatValue()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

                  @Override
                  public boolean tryAdvance(Consumer<? super R> action) {
                    if (itrA.hasNext() && itrB.hasNext()) {
                      action.accept(function.apply(itrA.next(), itrB.next()));
                      return true;
                    }
                    return false;
                  }
                },
                isParallel)
            .onClose(streamA::close)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

        private CompositionPredicate(Predicate<B> p, Function<A, ? extends B> f) {
          this.p = checkNotNull(p);
          this.f = checkNotNull(f);
        }
    
        @Override
        public boolean apply(@ParametricNullness A a) {
          return p.apply(f.apply(a));
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof CompositionPredicate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top