- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for StopwordsItem (0.08 seconds)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
@Test public void test_hashCode() { // Test hashCode method StopwordsItem item1 = new StopwordsItem(1, "test"); StopwordsItem item2 = new StopwordsItem(1, "test"); StopwordsItem item3 = new StopwordsItem(2, "test"); StopwordsItem item4 = new StopwordsItem(1, "different"); // Same input should have same hashCode regardless of id assertEquals(item1.hashCode(), item2.hashCode());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/stopwords/StopwordsFileTest.java
public void test_updater_updateItem() { loadTestData(); StopwordsItem originalItem = stopwordsFile.get(1).get(); StopwordsItem updateItem = new StopwordsItem(1, "the"); updateItem.setNewInput("modified"); StopwordsFile.StopwordsUpdater updater = stopwordsFile.new StopwordsUpdater(updateItem); StopwordsItem result = updater.write(originalItem); assertNotNull(result);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
} @Override public synchronized OptionalEntity<StopwordsItem> get(final long id) { if (stopwordsItemList == null) { reload(null); } for (final StopwordsItem StopwordsItem : stopwordsItemList) { if (id == StopwordsItem.getId()) { return OptionalEntity.of(StopwordsItem); } } return OptionalEntity.empty(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
// ============ private static OptionalEntity<StopwordsItem> getEntity(final CreateForm form) { switch (form.crudMode) { case CrudMode.CREATE: final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY); return OptionalEntity.of(entity); case CrudMode.EDIT: if (form instanceof EditForm) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.3K bytes - Click Count (0)