Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getInputs (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("a", item.getInputs()[0]);
    
            // NewInputs not sorted yet
            assertEquals("9", item.getNewInputs()[0]);
    
            // Call sort
            item.sort();
    
            // Both should be sorted
            assertEquals("a", item.getInputs()[0]);
            assertEquals("m", item.getInputs()[1]);
            assertEquals("z", item.getInputs()[2]);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertArrayEquals(new String[] { "a", "b" }, item1.getInputs());
            assertEquals("c", item1.getOutput());
    
            OptionalEntity<CharMappingItem> result2 = charMappingFile.get(2L);
            assertTrue(result2.isPresent());
            CharMappingItem item2 = result2.get();
            assertEquals(2L, item2.getId());
            assertArrayEquals(new String[] { "d", "e" }, item2.getInputs());
            assertEquals("f", item2.getOutput());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

            this.newOutputs = newOutputs;
        }
    
        /**
         * Gets the original input words.
         *
         * @return The original input words.
         */
        public String[] getInputs() {
            return inputs;
        }
    
        /**
         * Gets the input words as a newline-separated string.
         *
         * @return The input words as a string.
         */
        public String getInputsValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        }
    
        /**
         * Returns the array of input character sequences that are mapped to the output.
         *
         * @return array of input sequences
         */
        public String[] getInputs() {
            return inputs;
        }
    
        /**
         * Returns all input sequences joined with newline characters as a single string.
         * This is useful for display purposes in forms and user interfaces.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals(4, list.size());
            assertEquals("test1", list.get(0).getInput());
            assertEquals("日本語", list.get(1).getInput());
            assertEquals("word with spaces", list.get(2).getInput());
            assertEquals("	tab	word	", list.get(3).getInput());
        }
    
        // Helper method to write content to test file
        private void writeTestFile(String content) throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        }
    
        public void test_getInput() {
            // Test getInput method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            assertEquals("test", item1.getInput());
    
            StopwordsItem item2 = new StopwordsItem(2, "");
            assertEquals("", item2.getInput());
    
            StopwordsItem item3 = new StopwordsItem(3, null);
            assertNull(item3.getInput());
        }
    
        public void test_getInputValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertEquals(3, stopwordsFile.stopwordsItemList.size());
            assertEquals("word1", stopwordsFile.stopwordsItemList.get(0).getInput());
            assertEquals("word2", stopwordsFile.stopwordsItemList.get(1).getInput());
            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
        public void test_reload_withEscapedCharacters() {
            String content = "word\\\\1\n" + // word\1
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        public void test_getInput() {
            // Test getInput method
            ProtwordsItem item1 = new ProtwordsItem(1, "word1");
            assertEquals("word1", item1.getInput());
    
            ProtwordsItem item2 = new ProtwordsItem(2, "");
            assertEquals("", item2.getInput());
    
            ProtwordsItem item3 = new ProtwordsItem(3, null);
            assertNull(item3.getInput());
        }
    
        public void test_getInputValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

            newOutput = newOutputs;
        }
    
        /**
         * Gets the original input word.
         *
         * @return The original input word.
         */
        public String getInput() {
            return input;
        }
    
        /**
         * Gets the original output stem.
         *
         * @return The original output stem.
         */
        public String getOutput() {
            return output;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

         */
        public void setNewInput(final String newInput) {
            this.newInput = newInput;
        }
    
        /**
         * Gets the input value for this item.
         * @return the input value
         */
        public String getInput() {
            return input;
        }
    
        /**
         * Gets the input value or empty string if null.
         * @return the input value or empty string
         */
        public String getInputValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top