Package art.cutils.function
Interface Condition
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Condition
Represents an operation that returns a condition/boolean. whose functional method isisMet()
.- Since:
- 1.0
- Author:
- , Bobai Kato
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
isMet()
Check the condition.default boolean
isNotMet()
Negates the condition.
-
-
-
Method Detail
-
isNotMet
default boolean isNotMet()
Negates the condition. True is condition isn't met and False when condition is met.- Returns:
- the final negation of the actual condition of boolean.
- Since:
- 1.0
-
isMet
boolean isMet()
Check the condition.- Returns:
- the final condition of boolean
- Since:
- 1.0
-
-