Class QueryResults<T, QR extends org.rspeer.commons.typing.SelfTyped<QR>>
java.lang.Object
org.rspeer.game.query.results.QueryResults<T,QR>
- All Implemented Interfaces:
Iterable<T>, Collection<T>, org.rspeer.commons.typing.SelfTyped<QR>
- Direct Known Subclasses:
ComponentQueryResults, ItemQueryResults, RelationshipQueryResults, SceneNodeQueryResults, StockMarketTransactionQueryResults, WorldQueryResults
public abstract class QueryResults<T, QR extends org.rspeer.commons.typing.SelfTyped<QR>>
extends Object
implements Collection<T>, org.rspeer.commons.typing.SelfTyped<QR>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanbooleanbooleanaddAll(Collection<? extends T> c) asList()voidclear()booleanbooleancontainsAll(Collection<?> c) final Tfirst()get(int index) intbooleanisEmpty()iterator()final Tlast()intlastIndexOf(T o) final QRlimit(int entries) final QRlimit(int startIndex, int amount) final <K> List<K> final Trandom()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) final QRreverse()final QRshuffle()intsize()final QRsort(Comparator<? super T> comparator) Object[]toArray()Deprecated.T[]toString()Methods inherited from interface Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArrayMethods inherited from interface org.rspeer.commons.typing.SelfTyped
self
-
Constructor Details
-
QueryResults
-
-
Method Details
-
sort
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>
-
asList
-
get
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>
-
lastIndexOf
-
addAll
- Specified by:
addAllin interfaceCollection<T>
-
limit
-
first
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>
-
size
public int size()- Specified by:
sizein interfaceCollection<T>
-
toArray
- Specified by:
toArrayin interfaceCollection<T>
-
toArray
-
toString
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>
-
remove
- Specified by:
removein interfaceCollection<T>
-
add
- Specified by:
addin interfaceCollection<T>
-
reverse
-
last
-
indexOf
-
map
-
accept
-
random
-
contains
- Specified by:
containsin interfaceCollection<T>
-
shuffle
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>
-
iterator
-
limit
-