summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/patterns/Pattern.java
blob: c9902e807825960838dde6589c52a5545c29d431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package bjc.utils.patterns;

/**
 * A simpler version of ComplexPattern, which always applies against Object
 * 
 * @author Ben Culkin
 *
 * @param <ReturnType> The type returned by the pattern.
 * @param <PredType> The state type returned by the predicate.
 */
public interface Pattern<ReturnType, PredType>
	extends ComplexPattern<ReturnType, PredType, Object> {	
	/* Pattern factory methods */
}