public abstract class AMatcherMapBuilder<M extends IMatcher> extends Object implements IMatcherBuilder
OP_MATCH, OP_MAX, OP_MIN| Constructor and Description |
|---|
AMatcherMapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
IMatcher |
getInstanceIfSupports(IOpenClass type)
Get instance of matcher for a given type.
|
protected void |
put(Class<?> clazz,
M matcher) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic IMatcher getInstanceIfSupports(IOpenClass type)
IMatcherBuilderIt can create new instance of the matcher each time or return *itself* if one matcher is enough. It is useful for enums and e.t.c
getInstanceIfSupports in interface IMatcherBuildertype - variable's classCopyright © 2004–2019 OpenL Tablets. All rights reserved.