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