com.mysema.query.paging
Class SimpleListSource<T>
java.lang.Object
com.mysema.query.paging.SimpleListSource<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- ListSource<T>
public class SimpleListSource<T>
- extends Object
- implements ListSource<T>
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleListSource
public SimpleListSource(List<T> list)
SimpleListSource
public SimpleListSource(T... args)
getResults
public List<T> getResults(int fromIndex,
int toIndex)
- Specified by:
getResults
in interface ListSource<T>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface ListSource<T>
size
public long size()
- Specified by:
size
in interface ListSource<T>
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.