Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 532 for InputT (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

    /**
     * A future whose value is derived from a collection of input futures.
     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @SuppressWarnings(
        // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
        "ShortCircuitBoolean")
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         *
         * @param id the unique identifier for this mapping item
         * @param inputs array of input character sequences that will be mapped to the output
         * @param output the output character sequence that inputs will be mapped to
         */
        public CharMappingItem(final long id, final String[] inputs, final String output) {
            this.id = id;
            this.inputs = inputs;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            }
        }
    
        /**
         * Reloads the character mapping items from the provided input stream.
         * Parses mapping rules in the format: input1,input2,... => output
         *
         * @param updater the mapping updater to use for writing changes, or null for read-only reload
         * @param in the input stream to read the mapping data from
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         * @param inputs  The input words.
         * @param outputs The output synonyms.
         */
        public SynonymItem(final long id, final String[] inputs, final String[] outputs) {
            this.id = id;
            this.inputs = inputs;
            this.outputs = outputs;
    
            if (id == 0) {
                // create
                newInputs = inputs;
                newOutputs = outputs;
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test characters that need special encoding
            String input1 = "http://example.com/文档"; // Unicode characters
            String result1 = crawlingInfoHelper.generateId(input1);
            assertNotNull(result1);
            assertEquals(128, result1.length());
    
            String input2 = "http://example.com/path with spaces";
            String result2 = crawlingInfoHelper.generateId(input2);
            assertNotNull(result2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "line1\nline2");
    
            assertEquals("line1 line2", item.getOutput());
        }
    
        public void test_constructor_withNullOutput() {
            // Test with null output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, null);
    
            assertNull(item.getOutput());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/CollectorTester.java

              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            List<A> stack = new ArrayList<>();
            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              push(stack, newAccum);
            }
            push(stack, collector.supplier().get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          for (ClosingFuture<?> input : inputs) {
            input.becomeSubsumedInto(closeables);
          }
        }
    
        /**
         * Returns a new {@code ClosingFuture} pipeline step derived from the inputs by applying a
         * combining function to their values. The function can use a {@link DeferredCloser} to capture
         * objects to be closed when the pipeline is done.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput("");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=]", item.toString());
        }
    
        public void test_toLineString() {
            // Test toLineString method
            StopwordsItem item = new StopwordsItem(1, "original");
            assertEquals("original", item.toLineString());
    
            // When updated, should return newInput
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top