Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for PagingList (0.12 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

        }
    
        public void test_selectList() {
            final PagingList<KuromojiItem> itemList1 = kuromojiFile.selectList(0, 20);
            assertEquals(3, itemList1.size());
            assertEquals(3, itemList1.getAllRecordCount());
            assertEquals(1, itemList1.getCurrentPageNumber());
            assertEquals(20, itemList1.getPageSize());
    
            final PagingList<KuromojiItem> itemList2 = kuromojiFile.selectList(2, 2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            }
            return OptionalEntity.empty();
        }
    
        @Override
        public synchronized PagingList<CharMappingItem> selectList(final int offset, final int size) {
            if (mappingItemList == null) {
                reload(null);
            }
    
            if (offset >= mappingItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.KuromojiPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.kuromoji.KuromojiFile;
    import org.codelibs.fess.dict.kuromoji.KuromojiItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

        }
    
        public void test_selectList() {
            final PagingList<SynonymItem> itemList1 = synonymFile.selectList(0, 20); // error occurs
            assertEquals(5, itemList1.size());
            assertEquals(5, itemList1.getAllRecordCount());
            assertEquals(1, itemList1.getCurrentPageNumber());
            assertEquals(20, itemList1.getPageSize());
    
            final PagingList<SynonymItem> itemList2 = synonymFile.selectList(4, 2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

        }
    
        public void test_selectList() {
            final PagingList<StemmerOverrideItem> itemList1 = stemmerOverrideFile.selectList(0, 20); // error occurs
            assertEquals(3, itemList1.size());
            assertEquals(3, itemList1.getAllRecordCount());
            assertEquals(1, itemList1.getCurrentPageNumber());
            assertEquals(20, itemList1.getPageSize());
    
            final PagingList<StemmerOverrideItem> itemList2 = stemmerOverrideFile.selectList(2, 2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.StopwordsPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.stopwords.StopwordsFile;
    import org.codelibs.fess.dict.stopwords.StopwordsItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/SynonymService.java

    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.SynonymPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.synonym.SynonymFile;
    import org.codelibs.fess.dict.synonym.SynonymItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            }
        }
    
        public abstract String getType();
    
        public abstract PagingList<T> selectList(int offset, int size);
    
        public abstract OptionalEntity<T> get(long id);
    
        public abstract void insert(T item);
    
        public abstract void update(T item);
    
        public abstract void delete(T item);
    
        public static class PagingList<E> implements List<E> {
            private final List<E> parent;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            }
            return OptionalEntity.empty();
        }
    
        @Override
        public synchronized PagingList<ProtwordsItem> selectList(final int offset, final int size) {
            if (protwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= protwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<ProtwordsItem> emptyList(), offset, size, protwordsItemList.size());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            }
            return OptionalEntity.empty();
        }
    
        @Override
        public synchronized PagingList<StopwordsItem> selectList(final int offset, final int size) {
            if (stopwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= stopwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<StopwordsItem> emptyList(), offset, size, stopwordsItemList.size());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top