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

com.github.t3t5u.common.expression.AbstractMatcherExpression Maven / Gradle / Ivy

The newest version!
package com.github.t3t5u.common.expression;

import java.io.Serializable;

@SuppressWarnings("serial")
public abstract class AbstractMatcherExpression> extends AbstractExpression implements MatcherExpression {
	private final M matcher;

	@SuppressWarnings("unchecked")
	protected AbstractMatcherExpression(final M matcher) {
		super(matcher != null ? (Class) matcher.getClass() : null);
		this.matcher = matcher;
	}

	@Override
	public M evaluate() {
		return matcher;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy