Interface IfElse.Predicate
- Enclosing class:
IfElse
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for the condition that is tested, to determine which
DrawObject
to use.-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(ObjectWithProperties object, RGBStack stack, int identifier) Evaluates whether the condition is true or not.
-
Method Details
-
test
Evaluates whether the condition is true or not.- Parameters:
object
- a particularObjectMask
.stack
- the corresponding image on whichobject
lies.identifier
- an identifier associated withobject
.- Returns:
- true or false, as evaluated.
-