Package org.rspeer.game.query.results
Class RelationshipQueryResults<K extends RSChatter,T extends Chatter<K>>
- java.lang.Object
-
- org.rspeer.game.query.results.QueryResults<T,RelationshipQueryResults<K,T>>
-
- org.rspeer.game.query.results.RelationshipQueryResults<K,T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,SelfTyped<RelationshipQueryResults<K,T>>
- Direct Known Subclasses:
AssociateQueryResults
,PartyUserQueryResults
public class RelationshipQueryResults<K extends RSChatter,T extends Chatter<K>> extends QueryResults<T,RelationshipQueryResults<K,T>>
-
-
Constructor Summary
Constructors Constructor Description RelationshipQueryResults(Collection<T> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipQueryResults<K,T>
self()
RelationshipQueryResults<K,T>
sortByName(boolean ascending)
RelationshipQueryResults<K,T>
sortByPreviousName(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 Detail
-
RelationshipQueryResults
public RelationshipQueryResults(Collection<T> results)
-
-
Method Detail
-
self
public RelationshipQueryResults<K,T> self()
-
sortByName
public final RelationshipQueryResults<K,T> sortByName(boolean ascending)
-
sortByPreviousName
public final RelationshipQueryResults<K,T> sortByPreviousName(boolean ascending)
-
-