Class ArrayListResult
- All Implemented Interfaces:
IQueryResultSet<IEntryPacket>, Serializable, Cloneable, Iterable<IEntryPacket>, Collection<IEntryPacket>, List<IEntryPacket>, RandomAccess, SequencedCollection<IEntryPacket>
- 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 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 ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
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
-