Interface Query
- 
 public interface QueryAn inventory query. SeeQueryTypesfor possible types of queries.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceQuery.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static QueryandQueries(Query... queries)Returns a new query which combines the queries in given order withInventory.union(org.spongepowered.api.item.inventory.Inventory)static Query.Builderbuilder()Returns the query builder.Inventoryexecute(Inventory inventory)Executes this query on given inventorystatic QueryorQueries(Query... queries)Returns a new query matching any of the queries.
 
- 
- 
- 
Method Detail- 
builderstatic Query.Builder builder() Returns the query builder.- Returns:
- The query builder
 
 - 
orQueriesstatic Query orQueries(Query... queries) Returns a new query matching any of the queries.- Parameters:
- queries- The queries to match
- Returns:
- The new query
 
 - 
andQueriesstatic Query andQueries(Query... queries) Returns a new query which combines the queries in given order withInventory.union(org.spongepowered.api.item.inventory.Inventory)- Parameters:
- queries- The queries to combine
- Returns:
- The new query
 
 
- 
 
-