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