public abstract class DataAdapter<I,R,B> extends Object
| Constructor and Description |
|---|
DataAdapter(Class<I> primitiveType,
Class<R> resultType,
java.util.function.Function<I,R> builder,
java.util.function.Function<R,I> extractor) |
| Modifier and Type | Method and Description |
|---|---|
protected R |
build(Object input) |
protected I |
extract(B input) |
abstract Class<B> |
getBaseType() |
boolean |
isInstance(B base) |
public DataAdapter(Class<I> primitiveType, Class<R> resultType, java.util.function.Function<I,R> builder, java.util.function.Function<R,I> extractor)
Copyright © 2020. All rights reserved.