Matcher
public class TypeRMatcher<V,R> extends Object implements Matcher
protected boolean
isMatch
protected R
returnValue
protected V
value
TypeRMatcher(V value)
TypeRMatcher(V value, boolean isMatch)
R
orElse(R1<V,R> action)
<C> TypeRMatcher<V,R>
when(Class<C> value, R1<C,R> action)
whenNext(Class<C> value, R1<C,R> action)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected R returnValue
protected V value
protected boolean isMatch
public TypeRMatcher(V value, boolean isMatch)
public TypeRMatcher(V value)
public <C> TypeRMatcher<V,R> when(Class<C> value, R1<C,R> action)
public <C> TypeRMatcher<V,R> whenNext(Class<C> value, R1<C,R> action)
public R orElse(R1<V,R> action)
Copyright © 2021. All rights reserved.