Package org.rspeer.game.query.results
Class WorldQueryResults
java.lang.Object
org.rspeer.game.query.results.QueryResults<World,WorldQueryResults>
org.rspeer.game.query.results.WorldQueryResults
- All Implemented Interfaces:
Iterable<World>
,Collection<World>
,SelfTyped<WorldQueryResults>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
hopNext()
final boolean
self()
final WorldQueryResults
sortById
(boolean ascending) final WorldQueryResults
final WorldQueryResults
sortByPopulation
(boolean ascending) Methods inherited from class org.rspeer.game.query.results.QueryResults
accept, add, addAll, asList, clear, contains, containsAll, first, get, indexOf, isEmpty, iterator, last, lastIndexOf, limit, limit, map, random, remove, removeAll, retainAll, reverse, shuffle, size, sort, toArray, toArray, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
WorldQueryResults
-
-
Method Details
-
self
-
sortById
-
sortByPopulation
-
sortByPing
-
hopNext
public final boolean hopNext() -
hopPrevious
public final boolean hopPrevious()
-