blob: e03623e6cc049fc603737f2f51f6cfde6ded81fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package bjc.utils.patterns;
import java.util.*;
import java.util.function.*;
import java.util.regex.*;
import bjc.data.*;
/**
* 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 */
}
|