Package org.codelibs.fess.dict
Class DictionaryFile.PagingList<E>
java.lang.Object
org.codelibs.fess.dict.DictionaryFile.PagingList<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
- Enclosing class:
- DictionaryFile<T extends DictionaryItem>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intintintintintbooleanisEmpty()booleanbooleaniterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) voidsetPageRangeSize(int pageRangeSize) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
allPageCount
protected int allPageCount -
allRecordCount
protected int allRecordCount -
pageSize
protected int pageSize -
currentPageNumber
protected int currentPageNumber -
pageRangeSize
protected int pageRangeSize
-
-
Constructor Details
-
PagingList
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
subList
-
getAllRecordCount
public int getAllRecordCount() -
getPageSize
public int getPageSize() -
getCurrentPageNumber
public int getCurrentPageNumber() -
getAllPageCount
public int getAllPageCount() -
isExistPrePage
public boolean isExistPrePage() -
isExistNextPage
public boolean isExistNextPage() -
setPageRangeSize
public void setPageRangeSize(int pageRangeSize) -
createPageNumberList
-