org.apache.openjpa.datacache
Class QueryCacheStoreQuery.CachedList
java.lang.Object
   java.util.AbstractCollection<E>
java.util.AbstractCollection<E>
       java.util.AbstractList<Object>
java.util.AbstractList<Object>
           org.apache.openjpa.datacache.QueryCacheStoreQuery.CachedList
org.apache.openjpa.datacache.QueryCacheStoreQuery.CachedList
- All Implemented Interfaces: 
- Serializable, Iterable<Object>, Collection<Object>, List<Object>
- Enclosing class:
- QueryCacheStoreQuery
- public static class QueryCacheStoreQuery.CachedList 
- extends AbstractList<Object>- implements Serializable
Result list implementation for a cached query result. Package-protected
 for testing.
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class java.util.AbstractList | 
| add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList | 
 
 
 
 
QueryCacheStoreQuery.CachedList
public QueryCacheStoreQuery.CachedList(QueryResult res,
                                       boolean proj,
                                       StoreContext ctx)
get
public Object get(int idx)
- 
- Specified by:
- getin interface- List<Object>
- Specified by:
- getin class- AbstractList<Object>
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Collection<Object>
- Specified by:
- sizein interface- List<Object>
- Specified by:
- sizein class- AbstractCollection<Object>
 
- 
 
writeReplace
public Object writeReplace()
                    throws ObjectStreamException
- 
 
- 
- Throws:
- ObjectStreamException
 
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.