public class TypeArg<T> extends Object
Modifier and Type | Field and Description |
---|---|
Function<T,Object> |
unwrap |
Function<Object,Object> |
wrap |
Constructor and Description |
---|
TypeArg(Function<Object,Object> wrap,
Function<T,Object> unwrap) |
Modifier and Type | Method and Description |
---|---|
static <U> TypeArg<U> |
of(Class<U> type) |
static <T> TypeArg<T> |
unknown() |
<X> X |
unwrap(T o) |
T |
wrap(Object o) |
Copyright © 2022 Eclipse. All rights reserved.