All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sidhant92.boolparser.operator.AbstractOperator Maven / Gradle / Ivy

The newest version!
package com.github.sidhant92.boolparser.operator;

import java.util.List;
import com.github.sidhant92.boolparser.constant.ContainerDataType;
import com.github.sidhant92.boolparser.constant.DataType;
import com.github.sidhant92.boolparser.constant.Operator;

/**
 * @author sidhant.aggarwal
 * @since 05/03/2023
 */
public abstract class AbstractOperator {
    public abstract > boolean evaluate(final ContainerDataType containerDataType, final DataType dataType,
                                                                       final Object leftOperand, final Object... rightOperands);

    public abstract Operator getOperator();

    public abstract String getSymbol();

    public abstract List getAllowedContainerTypes();

    public abstract List getAllowedDataTypes();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy