Package org.rspeer.game.query.social
Class PartyUserQuery
- java.lang.Object
-
- org.rspeer.game.query.Query<T,RelationshipQuery<K,T>,RelationshipQueryResults<K,T>>
-
- org.rspeer.game.query.social.RelationshipQuery<RSPartyUser,PartyUser>
-
- org.rspeer.game.query.social.PartyUserQuery
-
- All Implemented Interfaces:
Cloneable
,Predicate<PartyUser>
,SelfTyped<RelationshipQuery<RSPartyUser,PartyUser>>
,Nameable.Query<RelationshipQuery<RSPartyUser,PartyUser>>
public class PartyUserQuery extends RelationshipQuery<RSPartyUser,PartyUser>
-
-
Constructor Summary
Constructors Constructor Description PartyUserQuery(Supplier<List<PartyUser>> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartyUserQuery
ranks(PartyUser.Rank... ranks)
PartyUserQuery
self()
boolean
test(PartyUser user)
PartyUserQuery
worlds(int... worlds)
-
Methods inherited from class org.rspeer.game.query.social.RelationshipQuery
aliases, getDefaultProvider, nameContains, names
-
-
-
-
Method Detail
-
self
public PartyUserQuery self()
- Specified by:
self
in interfaceSelfTyped<RelationshipQuery<RSPartyUser,PartyUser>>
- Overrides:
self
in classRelationshipQuery<RSPartyUser,PartyUser>
-
worlds
public PartyUserQuery worlds(int... worlds)
-
ranks
public PartyUserQuery ranks(PartyUser.Rank... ranks)
-
test
public boolean test(PartyUser user)
- Specified by:
test
in interfacePredicate<PartyUser>
- Overrides:
test
in classRelationshipQuery<RSPartyUser,PartyUser>
-
-