public interface Adaptable
Environment
s that are adaptable to
optional interfaces that can be considered as extensions to the
environment API.Modifier and Type | Method and Description |
---|---|
<T> T |
getAdapter(java.lang.Class<T> adapterType)
Obtains an adapter for the specified interface type.
|
<T> T getAdapter(java.lang.Class<T> adapterType)
T
- the requested adapter interfaceadapterType
- the requested adapter interfacenull
if this environment does not adapt to it