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