Class QueryResult<T>
java.lang.Object
com.epicbot.api.shared.query.result.QueryResult<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>
- Direct Known Subclasses:
LocatableEntityQueryResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends T> c) voidclear()booleanbooleancontainsAll(Collection<?> c) first()get(int index) booleanisEmpty()iterator()last()limit(int amount) limit(int startIndex, int amount) random()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) reverse()shuffle()intsize()sort(Comparator<? super T> comparator) Object[]toArray()<T> T[]toArray(T[] array) toList()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
ctx
-
-
Constructor Details
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>
-
contains
- Specified by:
containsin interfaceCollection<T>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<T>
-
toArray
public <T> T[] toArray(T[] array) - Specified by:
toArrayin interfaceCollection<T>
-
toList
-
add
- Specified by:
addin interfaceCollection<T>
-
addAll
- Specified by:
addAllin interfaceCollection<T>
-
remove
- Specified by:
removein interfaceCollection<T>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>
-
limit
-
limit
-
sort
-
reverse
-
shuffle
-
random
-
first
-
last
-