L
- R
- public class ThriftDecoratorTransformer<L,R extends ThriftDecorator<L>> extends java.lang.Object
ThriftDecorator
和被装饰对象之间的类型转换Modifier and Type | Field and Description |
---|---|
com.google.common.base.Function<L,R> |
toDecoratorFun
转换为thrift装饰对象
ThriftDecorator |
com.google.common.base.Function<R,L> |
toDelegateFun
转为被装饰对象
|
Constructor and Description |
---|
ThriftDecoratorTransformer(java.lang.Class<L> left,
java.lang.Class<R> right) |
public final com.google.common.base.Function<L,R extends ThriftDecorator<L>> toDecoratorFun
ThriftDecorator
public final com.google.common.base.Function<R extends ThriftDecorator<L>,L> toDelegateFun
public ThriftDecoratorTransformer(java.lang.Class<L> left, java.lang.Class<R> right)
Copyright © 2019. All rights reserved.