Package com.j3d.engine.scene.find
Interface Query<T extends SceneObject,V>
- Type Parameters:
T- The type ofSceneObjectthis query operates on.V- The type of the value used for comparison in the query.
- All Superinterfaces:
BiFunction<T,V, Boolean>
Represents a search query that can be applied to a
SceneObject.
This functional interface extends BiFunction to define a predicate
that takes a SceneObject of type T and a value of type V,
returning true if the object matches the query criteria, and false otherwise.
If not using the static predicates defined by Finder this cna be used instead to create
a custom search query. Provided it returns true
- See Also:
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen, apply