Package org.rspeer.game.query.results
Class AssociateQueryResults<K extends RSAssociate,T extends Associate<K>>
- java.lang.Object
-
- org.rspeer.game.query.results.QueryResults<T,RelationshipQueryResults<K,T>>
-
- org.rspeer.game.query.results.RelationshipQueryResults<K,T>
-
- org.rspeer.game.query.results.AssociateQueryResults<K,T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,SelfTyped<RelationshipQueryResults<K,T>>
- Direct Known Subclasses:
FriendsChatUserQueryResults
public class AssociateQueryResults<K extends RSAssociate,T extends Associate<K>> extends RelationshipQueryResults<K,T>
-
-
Constructor Summary
Constructors Constructor Description AssociateQueryResults(Collection<T> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociateQueryResults<K,T>
self()
AssociateQueryResults<K,T>
sortByWorld(boolean ascending)
-
Methods inherited from class org.rspeer.game.query.results.RelationshipQueryResults
sortByName, sortByPreviousName
-
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 Detail
-
AssociateQueryResults
public AssociateQueryResults(Collection<T> results)
-
-
Method Detail
-
self
public AssociateQueryResults<K,T> self()
- Specified by:
self
in interfaceSelfTyped<K extends RSAssociate>
- Overrides:
self
in classRelationshipQueryResults<K extends RSAssociate,T extends Associate<K>>
-
sortByWorld
public final AssociateQueryResults<K,T> sortByWorld(boolean ascending)
-
-