O - public class ObjectImplementor<O> extends Object implements IImplementor
IImplementor fuer eine Delegatinon.| Constructor and Description |
|---|
ObjectImplementor(O bean) |
| Modifier and Type | Method and Description |
|---|---|
<X> X |
cast(Class<X> cls)
prueft, ob uebergebene Klasse
assignable von aktueller
Klasse ist. |
O |
getBean() |
<X> boolean |
isImplementationOf(Class<X> cls)
Prueft, ob cast in die gewuenschte Zielklasse moeglich ist.
|
public ObjectImplementor(O bean)
public O getBean()
public <X> X cast(Class<X> cls)
assignable von aktueller
Klasse ist.cast in interface IImplementorcls - Zielklassepublic <X> boolean isImplementationOf(Class<X> cls)
IImplementorcls==null, so wird false geliefert.isImplementationOf in interface IImplementorX - expected (Super)Type of the checked objectcls - target class / interfaceCopyright © 2017. All rights reserved.