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>
public static class DictionaryFile.PagingList<E> extends Object implements List<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected intallPageCountprotected intallRecordCountprotected intcurrentPageNumberprotected intpageRangeSizeprotected intpageSize
-
Constructor Summary
Constructors Constructor Description PagingList(List<E> list, int offset, int size, int allRecordCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanadd(E e)booleanaddAll(int index, Collection<? extends E> c)booleanaddAll(Collection<? extends E> c)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)List<Integer>createPageNumberList()Eget(int index)intgetAllPageCount()intgetAllRecordCount()intgetCurrentPageNumber()intgetPageSize()intindexOf(Object o)booleanisEmpty()booleanisExistNextPage()booleanisExistPrePage()Iterator<E>iterator()intlastIndexOf(Object o)ListIterator<E>listIterator()ListIterator<E>listIterator(int index)Eremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)Eset(int index, E element)voidsetPageRangeSize(int pageRangeSize)intsize()List<E>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, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(E e)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
addAll
public boolean addAll(Collection<? extends E> c)
-
addAll
public boolean addAll(int index, Collection<? extends E> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator()
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator(int index)
- Specified by:
listIteratorin interfaceList<E>
-
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)
-
-