Matcher, PatternMatcherpublic class ActionValueVMatcher<V,P> extends SimpleVInMatcher<V,P,V>
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
private R1<? super P,V> |
preAction |
isMatch, returnValue, value| 构造器 | 说明 |
|---|---|
ActionValueVMatcher(V value,
boolean isMatch,
R1<? super P,V> preAction) |
|
ActionValueVMatcher(V value,
R1<? super P,V> preAction) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Void |
orElse(V1<? super V> action) |
|
<E extends Throwable> |
orWith(VT1<? super V,E> action) |
|
ActionValueVMatcher<V,P> |
when(boolean value,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
when(PatternIn<P> values,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
when(P value,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
whenNext(boolean value,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
whenNext(PatternIn<P> values,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
whenNext(P value,
V1<? super V> action) |
|
<E extends Throwable> |
with(boolean value,
VT1<? super V,E> action) |
|
<E extends Throwable> |
with(PatternIn<P> values,
VT1<? super V,E> action) |
|
<E extends Throwable> |
with(P value,
VT1<? super V,E> action) |
|
<E extends Throwable> |
withNext(boolean value,
VT1<? super V,E> action) |
|
<E extends Throwable> |
withNext(PatternIn<P> values,
VT1<? super V,E> action) |
|
<E extends Throwable> |
withNext(P value,
VT1<? super V,E> action) |
public ActionValueVMatcher(V value, boolean isMatch, R1<? super P,V> preAction)
public ActionValueVMatcher<V,P> when(P value, V1<? super V> action)
when 在类中 SimpleVMatcher<V,P,V>public ActionValueVMatcher<V,P> whenNext(P value, V1<? super V> action)
whenNext 在类中 SimpleVMatcher<V,P,V>public <E extends Throwable> ActionValueVMatcher<V,P> with(P value, VT1<? super V,E> action) throws E extends Throwable
public <E extends Throwable> ActionValueVMatcher<V,P> withNext(P value, VT1<? super V,E> action) throws E extends Throwable
public ActionValueVMatcher<V,P> when(boolean value, V1<? super V> action)
when 在类中 SimpleVMatcher<V,P,V>public ActionValueVMatcher<V,P> whenNext(boolean value, V1<? super V> action)
whenNext 在类中 SimpleVMatcher<V,P,V>public <E extends Throwable> ActionValueVMatcher<V,P> with(boolean value, VT1<? super V,E> action) throws E extends Throwable
public <E extends Throwable> ActionValueVMatcher<V,P> withNext(boolean value, VT1<? super V,E> action) throws E extends Throwable
public ActionValueVMatcher<V,P> when(PatternIn<P> values, V1<? super V> action)
when 在类中 SimpleVInMatcher<V,P,V>public ActionValueVMatcher<V,P> whenNext(PatternIn<P> values, V1<? super V> action)
whenNext 在类中 SimpleVInMatcher<V,P,V>public <E extends Throwable> ActionValueVMatcher<V,P> with(PatternIn<P> values, VT1<? super V,E> action) throws E extends Throwable
public <E extends Throwable> ActionValueVMatcher<V,P> withNext(PatternIn<P> values, VT1<? super V,E> action) throws E extends Throwable
Copyright © 2023 io-fairy. All rights reserved.