public class ObjectCacheIterator<T> extends Object implements OADataSourceIterator
Modifier and Type | Field and Description |
---|---|
protected ArrayList<T> |
alFetchObjects |
protected boolean |
bFetchIsDone |
protected Class<T> |
clazz |
protected OAFilter<T> |
filter |
protected T |
lastFetchObject |
protected int |
max |
protected T |
nextObject |
protected int |
posFetchObjects |
Constructor and Description |
---|
ObjectCacheIterator(Class<T> c) |
ObjectCacheIterator(Class<T> c,
OAFilter<T> filter) |
Modifier and Type | Method and Description |
---|---|
T |
_next() |
int |
getMax() |
String |
getQuery() |
String |
getQuery2() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
void |
setMax(int x) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSiblingHelper
forEachRemaining
protected T nextObject
protected T lastFetchObject
protected int posFetchObjects
protected boolean bFetchIsDone
protected int max
public void setMax(int x)
public int getMax()
public T _next()
public String getQuery()
getQuery
in interface OADataSourceIterator
public String getQuery2()
getQuery2
in interface OADataSourceIterator
Copyright © 1999–2019 ViaOA. All rights reserved.