- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SynonymItem (0.06 sec)
-
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
return false; } final SynonymItem other = (SynonymItem) obj; if (!ArrayUtil.equalsIgnoreSequence(inputs, other.inputs) || !ArrayUtil.equalsIgnoreSequence(outputs, other.outputs)) { return false; } return true; } @Override public String toString() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
synonymItem.setNewInputs(new String[0]); synonymItem.setNewOutputs(new String[0]); assertTrue(synonymItem.isUpdated()); assertTrue(synonymItem.isDeleted()); } public void test_new2() { final SynonymItem synonymItem = new SynonymItem(1, new String[] { "A", "a" }, new String[] { "B", "b" }); assertEquals(1, synonymItem.getId()); assertEquals(2, synonymItem.getInputs().length);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
} public OptionalEntity<SynonymItem> getSynonymItem(final String dictId, final long id) { return getSynonymFile(dictId).map(file -> file.get(id).get()); } public void store(final String dictId, final SynonymItem synonymItem) { getSynonymFile(dictId).ifPresent(file -> { if (synonymItem.getId() == 0) { file.insert(synonymItem); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
List<SynonymItem> itemList = new ArrayList<>(); itemList.add(new SynonymItem(1, new String[] { "a1" }, new String[] { "A1" })); itemList.add(new SynonymItem(2, new String[] { "b1", "b2" }, new String[] { "B1" })); itemList.add(new SynonymItem(3, new String[] { "c1" }, new String[] { "C1", "C2" })); itemList.add(new SynonymItem(4, new String[] { "x1", "X1" }, new String[] { "x1", "X1" }));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.synonym.SynonymFile; import org.codelibs.fess.dict.synonym.SynonymItem; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; import jakarta.annotation.Resource;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.1K bytes - Viewed (0)