com.mysema.query.paging
Class ListSourceBase<T>
java.lang.Object
com.mysema.query.paging.ListSourceBase<T>
- All Implemented Interfaces:
- ListSource<T>
public abstract class ListSourceBase<T>
- extends Object
- implements ListSource<T>
ListSourceBase provides
- Version:
- $Id$
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListSourceBase
public ListSourceBase(CallbackService callbackService,
long size)
emptyResults
public static <T> ListSource<T> emptyResults()
getInnerResults
protected abstract List<T> getInnerResults(int fromIndex,
int toIndex)
getResults
public List<T> getResults(int fromIndex,
int toIndex)
- Specified by:
getResults
in interface ListSource<T>
isEmpty
public final boolean isEmpty()
- Specified by:
isEmpty
in interface ListSource<T>
size
public final long size()
- Specified by:
size
in interface ListSource<T>
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.