Package net.openosrs.api.query
Class InventoryQuery
- java.lang.Object
-
- net.openosrs.api.query.Query<InventoryItem,InventoryQuery>
-
- net.openosrs.api.query.InventoryQuery
-
public final class InventoryQuery extends Query<InventoryItem,InventoryQuery>
Filters current inventory snapshots.
-
-
Constructor Summary
Constructors Constructor Description InventoryQuery(java.util.function.Supplier<java.util.List<InventoryItem>> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventoryQuerynameContains(java.lang.String text)protected InventoryQueryself()InventoryQuerywithAction(java.lang.String action)InventoryQuerywithId(int... ids)InventoryQuerywithName(java.lang.String name)
-
-
-
Constructor Detail
-
InventoryQuery
public InventoryQuery(java.util.function.Supplier<java.util.List<InventoryItem>> source)
-
-
Method Detail
-
self
protected InventoryQuery self()
- Specified by:
selfin classQuery<InventoryItem,InventoryQuery>
-
withId
public InventoryQuery withId(int... ids)
-
withName
public InventoryQuery withName(java.lang.String name)
-
nameContains
public InventoryQuery nameContains(java.lang.String text)
-
withAction
public InventoryQuery withAction(java.lang.String action)
-
-