- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 179 for inputs2 (0.06 seconds)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
public void test_equals() { String[] inputs1 = { "a", "b" }; String[] inputs2 = { "b", "a" }; // Different order String[] inputs3 = { "c", "d" }; CharMappingItem item1 = new CharMappingItem(1L, inputs1, "output"); CharMappingItem item2 = new CharMappingItem(2L, inputs2, "output"); CharMappingItem item3 = new CharMappingItem(3L, inputs3, "output");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
returnedInputs[0] = "modified"; // Get again and verify not modified String[] inputs2 = item.getInputs(); assertEquals("a", inputs2[0]); assertEquals("b", inputs2[1]); assertEquals("c", inputs2[2]); } @Test public void test_defensiveCopy_outputs() { // Test that getOutputs() returns defensive copy
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1) -
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; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 6K bytes - Click Count (0) -
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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
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 */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 15.3K bytes - Click Count (0) -
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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals("StopwordsItem [id=123, inputs=word, newInputs=null]", item.toString()); item.setNewInput("updated"); assertEquals("StopwordsItem [id=123, inputs=word, newInputs=updated]", item.toString()); item.setNewInput(""); assertEquals("StopwordsItem [id=123, inputs=word, newInputs=]", item.toString()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertEquals("ProtwordsItem [id=123, inputs=testword, newInputs=null]", item.toString()); item.setNewInput("newword"); assertEquals("ProtwordsItem [id=123, inputs=testword, newInputs=newword]", item.toString()); ProtwordsItem item2 = new ProtwordsItem(0, "createword"); assertEquals("ProtwordsItem [id=0, inputs=createword, newInputs=createword]", item2.toString()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java
* @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() { if (input == null) { return StringUtil.EMPTY; } return input; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 3.4K bytes - Click Count (0)