Package com.j_spaces.jdbc.query
Class ArrayListResult
- All Implemented Interfaces:
IQueryResultSet<IEntryPacket>,Serializable,Cloneable,Iterable<IEntryPacket>,Collection<IEntryPacket>,List<IEntryPacket>,RandomAccess
- Direct Known Subclasses:
JoinedQueryResult,ProjectedResultSet
public class ArrayListResult
extends ArrayList<IEntryPacket>
implements IQueryResultSet<IEntryPacket>
- Since:
- 7.1
- Author:
- anna
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionArrayListResult(IEntryPacket entryPacket) ArrayListResult(IEntryPacket[] array) ArrayListResult(Collection<IEntryPacket> entries) -
Method Summary
Modifier and TypeMethodDescriptiongetFieldValue(SelectColumn column, IEntryPacket entry) Return an intersection of this set and a given one.newResultSet(Collection<IEntryPacket> entries) union(IQueryResultSet<IEntryPacket> set) Return a union of this set and a given oneMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
ArrayListResult
public ArrayListResult() -
ArrayListResult
-
ArrayListResult
-
ArrayListResult
-
-
Method Details
-
getFieldValue
- Specified by:
getFieldValuein interfaceIQueryResultSet<IEntryPacket>
-
newResultSet
- Specified by:
newResultSetin interfaceIQueryResultSet<IEntryPacket>
-
newResultSet
- Specified by:
newResultSetin interfaceIQueryResultSet<IEntryPacket>
-
intersect
Return an intersection of this set and a given one.- Specified by:
intersectin interfaceIQueryResultSet<IEntryPacket>- Returns:
- the intersection
-
union
Return a union of this set and a given one- Specified by:
unionin interfaceIQueryResultSet<IEntryPacket>- Returns:
- the union set
-