Package org.rspeer.game.query.social
Class RelationshipQuery<K extends RSChatter,T extends Chatter<K>>
- java.lang.Object
-
- org.rspeer.game.query.Query<T,RelationshipQuery<K,T>,RelationshipQueryResults<K,T>>
-
- org.rspeer.game.query.social.RelationshipQuery<K,T>
-
- All Implemented Interfaces:
Cloneable
,Predicate<T>
,SelfTyped<RelationshipQuery<K,T>>
,Nameable.Query<RelationshipQuery<K,T>>
- Direct Known Subclasses:
AssociateQuery
,PartyUserQuery
public class RelationshipQuery<K extends RSChatter,T extends Chatter<K>> extends Query<T,RelationshipQuery<K,T>,RelationshipQueryResults<K,T>> implements Nameable.Query<RelationshipQuery<K,T>>
-
-
Constructor Summary
Constructors Constructor Description RelationshipQuery(Supplier<List<T>> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipQuery<K,T>
aliases(String... aliases)
Supplier<List<T>>
getDefaultProvider()
RelationshipQuery<K,T>
nameContains(String... names)
RelationshipQuery<K,T>
names(String... names)
RelationshipQuery<K,T>
self()
boolean
test(T t)
-
-
-
Method Detail
-
self
public RelationshipQuery<K,T> self()
-
names
public RelationshipQuery<K,T> names(String... names)
- Specified by:
names
in interfaceNameable.Query<K extends RSChatter>
-
nameContains
public RelationshipQuery<K,T> nameContains(String... names)
- Specified by:
nameContains
in interfaceNameable.Query<K extends RSChatter>
-
aliases
public RelationshipQuery<K,T> aliases(String... aliases)
-
-