public final class AdapterUtil
extends Object
Provides a single static
adapt()
method that conveniently and safely wraps the
Platform's adaptation framework.
- Author:
- Eike Stepper
-
Method Summary
static <TYPE> TYPE
static <TYPE> TYPE
static <TYPE> boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
adapts
public static <TYPE> boolean adapts(Object object,
Class<TYPE> type)
- Since:
- 3.5
-
adapt
public static <TYPE> TYPE adapt(Object object,
Class<TYPE> type)
-
adapt
public static <TYPE> TYPE adapt(Object object,
Class<TYPE> type,
boolean consultObject)
- Since:
- 3.5