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 is isMet().
    Since:
    1.0
    Author:
    , Bobai Kato
    • 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