Class HintArrowQueryBuilder
- java.lang.Object
-
- com.runemate.game.api.hybrid.queries.QueryBuilder<HintArrow,HintArrowQueryBuilder,HintArrowQueryResults>
-
- com.runemate.game.api.hybrid.queries.HintArrowQueryBuilder
-
- All Implemented Interfaces:
java.lang.Cloneable
public class HintArrowQueryBuilder extends QueryBuilder<HintArrow,HintArrowQueryBuilder,HintArrowQueryResults>
-
-
Constructor Summary
Constructors Constructor Description HintArrowQueryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(HintArrow argument)
Checks if the current builder accepts the argumentHintArrowQueryBuilder
get()
Gets a reference to this with the correct typejava.util.concurrent.Callable<java.util.List<? extends HintArrow>>
getDefaultProvider()
Gets the default provider of the unfiltered data entries.HintArrowQueryBuilder
on(Coordinate... positions)
HintArrowQueryBuilder
on(java.util.Collection<Coordinate> positions)
HintArrowQueryBuilder
targeting(Actor... targeting)
HintArrowQueryBuilder
types(int... types)
HintArrowQueryBuilder
within(Area... areas)
HintArrowQueryBuilder
within(java.util.Collection<Area> areas)
-
-
-
Method Detail
-
types
public final HintArrowQueryBuilder types(int... types)
-
get
public HintArrowQueryBuilder get()
Description copied from class:QueryBuilder
Gets a reference to this with the correct type- Specified by:
get
in classQueryBuilder<HintArrow,HintArrowQueryBuilder,HintArrowQueryResults>
-
getDefaultProvider
public java.util.concurrent.Callable<java.util.List<? extends HintArrow>> getDefaultProvider()
Description copied from class:QueryBuilder
Gets the default provider of the unfiltered data entries. Must be thread-safe.- Specified by:
getDefaultProvider
in classQueryBuilder<HintArrow,HintArrowQueryBuilder,HintArrowQueryResults>
- Returns:
- A non-null
Callable
provider that is used by default.
-
accepts
public boolean accepts(HintArrow argument)
Description copied from class:QueryBuilder
Checks if the current builder accepts the argument- Overrides:
accepts
in classQueryBuilder<HintArrow,HintArrowQueryBuilder,HintArrowQueryResults>
- Parameters:
argument
- The argument to be tested against the built query.- Returns:
- true if the provided argument is accepted by the built query.
-
targeting
public final HintArrowQueryBuilder targeting(Actor... targeting)
-
on
public final HintArrowQueryBuilder on(java.util.Collection<Coordinate> positions)
-
on
public final HintArrowQueryBuilder on(Coordinate... positions)
-
within
public final HintArrowQueryBuilder within(java.util.Collection<Area> areas)
-
within
public final HintArrowQueryBuilder within(Area... areas)
-
-