protected void checkInputSize(List<Object> input) throws TransformationOperationException {
        int inputCount = getOperationInputCount();
        int inputSize = input.size();
        if (inputCount == -2) {
            return;
        } else if (inputCount == -1 && input.size() < 1) {
            throw new TransformationOperationException("There must be at least one input value.");
        } else if (inputCount != -1 && inputSize != inputCount) {
            throw new TransformationOperationException(
                "The input values are not matching with the operation input count.");
        }
    }
protected void checkInputSize ( List < Object > input ) throws TransformationOperationException { int inputCount = getOperationInputCount ( ) ; int inputSize = input . size ( ) ; if ( inputCount == - 2 ) { return ; } else if ( inputCount == - 1 && input . size ( ) < 1 ) { throw new TransformationOperationException ( "There must be at least one input value." ) ; } else if ( inputCount != - 1 && inputSize != inputCount ) { throw new TransformationOperationException ( "The input values are not matching with the operation input count." ) ; } }
Checks if the input size is matching with the operation defined input count. If not, a
TransformationOperationException is thrown.