- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Item2 (0.05 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
StopwordsItem item1 = new StopwordsItem(1, "test"); StopwordsItem item2 = new StopwordsItem(1, "test"); item1.setNewInput("updated"); item2.setNewInput("different"); // Should still be equal based on original input assertTrue(item1.equals(item2)); } public void test_toString() { // Test toString method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertFalse(item1.equals("word")); // Symmetry assertTrue(item1.equals(item2)); assertTrue(item2.equals(item1)); } public void test_equals_withNullInput() { // Test equals with null input ProtwordsItem item1 = new ProtwordsItem(1, null); ProtwordsItem item2 = new ProtwordsItem(2, null); ProtwordsItem item3 = new ProtwordsItem(1, "word");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
Collections.addAll(roleList, item1.getRoles()); for (final String role : item2.getRoles()) { if (!roleList.contains(role)) { roleList.add(role); } } mergedItem.roles = roleList.toArray(new String[roleList.size()]); mergedItem.kinds = concatKinds(item1.kinds, item2.kinds); mergedItem.timestamp = item2.timestamp;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
String[] text2 = { "item2" }; // Different text -> different ID String[][] readings2 = { { "read2" } }; SuggestItem item2 = new SuggestItem(text2, readings2, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY); SuggestItem.merge(item1, item2); // Should throw IllegalArgumentException }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
TestDictionaryItem item2 = new TestDictionaryItem(); item1.id = 100L; item2.id = 200L; assertEquals(100L, item1.getId()); assertEquals(200L, item2.getId()); // Verify they don't affect each other item1.id = 300L; assertEquals(300L, item1.getId()); assertEquals(200L, item2.getId()); } public void test_constructor() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
CharMappingItem item2 = new CharMappingItem(2L, inputs2, "output"); CharMappingItem item3 = new CharMappingItem(3L, inputs3, "output"); CharMappingItem item4 = new CharMappingItem(4L, inputs1, "different"); // Same inputs and output should have same hash code assertEquals(item1.hashCode(), item2.hashCode());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
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()); OptionalEntity<CharMappingItem> result3 = charMappingFile.get(3L); assertFalse(result3.isPresent()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertTrue(result.isPresent()); assertEquals(testValue, result.get()); } public void test_ofNullable_withList() { List<String> testValue = Arrays.asList("item1", "item2", "item3"); OptionalEntity<List<String>> result = OptionalUtil.ofNullable(testValue); assertNotNull(result); assertTrue(result.isPresent()); assertEquals(testValue, result.get());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
OptionalEntity<ProtwordsItem> item1 = protwordsFile.get(1); OptionalEntity<ProtwordsItem> item2 = protwordsFile.get(2); PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 10); assertTrue(item1.isPresent()); assertTrue(item2.isPresent()); assertTrue(list.size() > 0); } public void test_reload_withLargeFile() 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)