com.mysema.util
Class LimitingIterator<E>
java.lang.Object
com.mysema.util.LimitingIterator<E>
- All Implemented Interfaces:
- Iterator<E>
public class LimitingIterator<E>
- extends Object
- implements Iterator<E>
LimitingIterator is and Iterator adapter which takes limit and offset into account
- Version:
- $Id$
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static <T> Iterator<T> create(Iterator<T> iterator,
QueryModifiers modifiers)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<E>
next
public E next()
- Specified by:
next
in interface Iterator<E>
remove
public void remove()
- Specified by:
remove
in interface Iterator<E>
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.