public class TypeMatcherMapping<V> extends MatcherMapping<V>
value| 构造器 | 说明 |
|---|---|
TypeMatcherMapping(V value) |
public TypeMatcherMapping(V value)
public <C> TypeVMatcher<V> when(Class<C> matchValue, V1<C> action)
public <C> TypeVMatcher<V> whenNext(Class<C> matchValue, V1<C> action)
public <C,R> TypeRMatcher<V,R> when(Class<C> matchValue, R1<C,R> action)
public <C,R> TypeRMatcher<V,R> whenNext(Class<C> matchValue, R1<C,R> action)
Copyright © 2021. All rights reserved.