Interface EnumOperations.BinaryEnumComparisonOperation

  • Enclosing class:
    EnumOperations

    private static interface EnumOperations.BinaryEnumComparisonOperation
    Defines the evaluation of a binary enum (literal) operation.
    Author:
    Holger Eichelberger
    • Method Detail

      • evaluate

        boolean evaluate​(EnumLiteral e1,
                         EnumLiteral e2)
        Performs an operation on e1 and e2 and returns a boolean value.
        Parameters:
        e1 - the first literal
        e2 - the second literal
        Returns:
        whether the comparison was successful