Package org.rspeer.game.query
Class Query<T,QB extends SelfTyped<QB>,QR extends QueryResults<T,QR>>
- java.lang.Object
-
- org.rspeer.game.query.Query<T,QB,QR>
-
- Type Parameters:
T
- The element typeQB
- Self type of the query builderQR
- TheQueryResults
type
- Direct Known Subclasses:
ComponentQuery
,ItemQuery
,RelationshipQuery
,SceneNodeQuery
,StockMarketTransactionQuery
,WorldQuery
public abstract class Query<T,QB extends SelfTyped<QB>,QR extends QueryResults<T,QR>> extends Object implements Cloneable, SelfTyped<QB>, Predicate<T>
Represents aQuery
builder
-
-
Constructor Summary
Constructors Constructor Description Query()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description QB
filter(Predicate<T> filter)
abstract Supplier<List<T>>
getDefaultProvider()
QB
provider(Supplier<List<T>> provider)
QR
results()
boolean
test(T t)
-
-
-
Method Detail
-
results
public final QR results()
-
-