- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for StopwordsItem (0.16 seconds)
-
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java
} if (obj == null || getClass() != obj.getClass()) { return false; } final StopwordsItem other = (StopwordsItem) obj; return java.util.Objects.equals(input, other.input); } @Override public String toString() { return "StopwordsItem [id=" + id + ", inputs=" + input + ", newInputs=" + newInput + "]"; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 3.5K bytes - Click Count (0) -
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)