| 程序包 | 说明 |
|---|---|
| com.iofairy.pattern.mapping | |
| com.iofairy.pattern.matcher | |
| com.iofairy.tcf |
tcf: try-catch-finally
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
ActionNoneVMatcher<T> |
ActionNoneMatcherMapping.when(boolean matchValue,
V1<? super T> action) |
|
ActionNoneVMatcher<T> |
ActionNoneMatcherMapping.when(PatternIn<T> matchValues,
V1<? super T> action) |
|
ActionNoneVMatcher<T> |
ActionNoneMatcherMapping.when(T matchValue,
V1<? super T> action) |
|
ActionValueVMatcher<V,T> |
ActionValueMatcherMapping.when(boolean matchValue,
V1<? super V> action) |
|
ActionValueVMatcher<V,T> |
ActionValueMatcherMapping.when(PatternIn<T> matchValues,
V1<? super V> action) |
|
ActionValueVMatcher<V,T> |
ActionValueMatcherMapping.when(T matchValue,
V1<? super V> action) |
|
BooleanVMatcher<V> |
BooleanMatcherMapping.when(boolean matchValue,
V1<? super V> action) |
|
StringVMatcher |
StringMatcherMapping.when(boolean matchValue,
V1<? super String> action) |
|
StringVMatcher |
StringMatcherMapping.when(PatternIn<String> matchValues,
V1<? super String> action) |
|
StringVMatcher |
StringMatcherMapping.when(String matchValue,
V1<? super String> action) |
|
<C> TypeVMatcher<V> |
TypeMatcherMapping.when(Class<C> matchValue,
V1<? super C> action) |
|
ValueVMatcher<V> |
ValueMatcherMapping.when(boolean matchValue,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueMatcherMapping.when(PatternIn<V> matchValues,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueMatcherMapping.when(V matchValue,
V1<? super V> action) |
|
ActionNoneVMatcher<T> |
ActionNoneMatcherMapping.whenNext(boolean matchValue,
V1<? super T> action) |
|
ActionNoneVMatcher<T> |
ActionNoneMatcherMapping.whenNext(PatternIn<T> matchValues,
V1<? super T> action) |
|
ActionNoneVMatcher<T> |
ActionNoneMatcherMapping.whenNext(T matchValue,
V1<? super T> action) |
|
ActionValueVMatcher<V,T> |
ActionValueMatcherMapping.whenNext(boolean matchValue,
V1<? super V> action) |
|
ActionValueVMatcher<V,T> |
ActionValueMatcherMapping.whenNext(PatternIn<T> matchValues,
V1<? super V> action) |
|
ActionValueVMatcher<V,T> |
ActionValueMatcherMapping.whenNext(T matchValue,
V1<? super V> action) |
|
BooleanVMatcher<V> |
BooleanMatcherMapping.whenNext(boolean matchValue,
V1<? super V> action) |
|
StringVMatcher |
StringMatcherMapping.whenNext(boolean matchValue,
V1<? super String> action) |
|
StringVMatcher |
StringMatcherMapping.whenNext(PatternIn<String> matchValues,
V1<? super String> action) |
|
StringVMatcher |
StringMatcherMapping.whenNext(String matchValue,
V1<? super String> action) |
|
<C> TypeVMatcher<V> |
TypeMatcherMapping.whenNext(Class<C> matchValue,
V1<? super C> action) |
|
ValueVMatcher<V> |
ValueMatcherMapping.whenNext(boolean matchValue,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueMatcherMapping.whenNext(PatternIn<V> matchValues,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueMatcherMapping.whenNext(V matchValue,
V1<? super V> action) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Void |
ActionNoneVMatcher.orElse(V1<? super None> action) |
|
Void |
ActionValueVMatcher.orElse(V1<? super V> action) |
|
Void |
BooleanVMatcher.orElse(V1<? super V> action) |
|
abstract Void |
SimpleVMatcher.orElse(V1<? super V> action) |
|
Void |
StringVMatcher.orElse(V1<? super String> action) |
|
Void |
TypeVMatcher.orElse(V1<? super V> action) |
|
Void |
ValueVMatcher.orElse(V1<? super V> action) |
|
ActionNoneVMatcher<P> |
ActionNoneVMatcher.when(boolean value,
V1<? super P> action) |
|
ActionNoneVMatcher<P> |
ActionNoneVMatcher.when(PatternIn<P> values,
V1<? super P> action) |
|
ActionNoneVMatcher<P> |
ActionNoneVMatcher.when(P value,
V1<? super P> action) |
|
ActionValueVMatcher<V,P> |
ActionValueVMatcher.when(boolean value,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
ActionValueVMatcher.when(PatternIn<P> values,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
ActionValueVMatcher.when(P value,
V1<? super V> action) |
|
BooleanVMatcher<V> |
BooleanVMatcher.when(boolean value,
V1<? super V> action) |
|
abstract SimpleVInMatcher<V,P,L> |
SimpleVInMatcher.when(PatternIn<P> values,
V1<? super L> action) |
|
abstract SimpleVMatcher<V,P,L> |
SimpleVMatcher.when(boolean value,
V1<? super L> action) |
|
abstract SimpleVMatcher<V,P,L> |
SimpleVMatcher.when(P value,
V1<? super L> action) |
|
StringVMatcher |
StringVMatcher.when(boolean value,
V1<? super String> action) |
|
StringVMatcher |
StringVMatcher.when(PatternIn<String> values,
V1<? super String> action) |
|
StringVMatcher |
StringVMatcher.when(String value,
V1<? super String> action) |
|
<C> TypeVMatcher<V> |
TypeVMatcher.when(Class<C> value,
V1<? super C> action) |
|
ValueVMatcher<V> |
ValueVMatcher.when(boolean value,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueVMatcher.when(PatternIn<V> values,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueVMatcher.when(V value,
V1<? super V> action) |
|
ActionNoneVMatcher<P> |
ActionNoneVMatcher.whenNext(boolean value,
V1<? super P> action) |
|
ActionNoneVMatcher<P> |
ActionNoneVMatcher.whenNext(PatternIn<P> values,
V1<? super P> action) |
|
ActionNoneVMatcher<P> |
ActionNoneVMatcher.whenNext(P value,
V1<? super P> action) |
|
ActionValueVMatcher<V,P> |
ActionValueVMatcher.whenNext(boolean value,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
ActionValueVMatcher.whenNext(PatternIn<P> values,
V1<? super V> action) |
|
ActionValueVMatcher<V,P> |
ActionValueVMatcher.whenNext(P value,
V1<? super V> action) |
|
BooleanVMatcher<V> |
BooleanVMatcher.whenNext(boolean value,
V1<? super V> action) |
|
abstract SimpleVInMatcher<V,P,L> |
SimpleVInMatcher.whenNext(PatternIn<P> values,
V1<? super L> action) |
|
abstract SimpleVMatcher<V,P,L> |
SimpleVMatcher.whenNext(boolean value,
V1<? super L> action) |
|
abstract SimpleVMatcher<V,P,L> |
SimpleVMatcher.whenNext(P value,
V1<? super L> action) |
|
StringVMatcher |
StringVMatcher.whenNext(boolean value,
V1<? super String> action) |
|
StringVMatcher |
StringVMatcher.whenNext(PatternIn<String> values,
V1<? super String> action) |
|
StringVMatcher |
StringVMatcher.whenNext(String value,
V1<? super String> action) |
|
<C> TypeVMatcher<V> |
TypeVMatcher.whenNext(Class<C> value,
V1<? super C> action) |
|
ValueVMatcher<V> |
ValueVMatcher.whenNext(boolean value,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueVMatcher.whenNext(PatternIn<V> values,
V1<? super V> action) |
|
ValueVMatcher<V> |
ValueVMatcher.whenNext(V value,
V1<? super V> action) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static <T extends AutoCloseable> |
Close.close(T autoCloseable,
V2<T,Throwable> catchAction,
V1<T> finallyAction) |
Simplify
try-catch-finally block when closing resources. |
void |
Close.tcf(VT1<C,Throwable> closeAction,
V2<C,Throwable> catchAction,
V1<C> finallyAction) |
|
static <R> R |
Try.tcf(RT0<R,Throwable> tryAction,
V1<Throwable> catchAction) |
Simplify
try-catch block. |
static <R> R |
Try.tcf(RT0<R,Throwable> tryAction,
R defaultReturn,
V1<Throwable> catchAction) |
Simplify
try-catch block. |
static void |
Try.tcf(VT0<Throwable> tryAction,
V1<Throwable> catchAction) |
Simplify
try-catch block. |
Copyright © 2023 io-fairy. All rights reserved.