Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for StopwordsItem (0.07 seconds)

  1. 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)
  2. 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)
Back to Top