public class Implementor extends Object implements IImplementor
this.getClass()| Constructor and Description |
|---|
Implementor() |
| Modifier and Type | Method and Description |
|---|---|
<X> X |
cast(Class<X> iface)
prueft, ob uebergebene Klasse
assignable von aktueller Klasse ist. |
<X> boolean |
isImplementationOf(Class<X> cls)
Prueft, ob cast in die gewuenschte Zielklasse moeglich ist.
|
public <X> X cast(Class<X> iface)
assignable von aktueller Klasse ist.cast in interface IImplementoriface - 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.