public interface Wrappable
Modifier and Type | Method and Description |
---|---|
boolean |
isUnwrappableAs(Class unwrapType)
Can this wrapped item be unwrapped as the indicated type?
|
<T> T |
unwrap(Class<T> unwrapType)
Get the wrapped delegate item
|
boolean isUnwrappableAs(Class unwrapType)
unwrapType
- The type to check.<T> T unwrap(Class<T> unwrapType)
unwrapType
- The java type as which to unwrap this instance.Copyright © 2022. All rights reserved.