| net.sf.hajdbc.util.ClassEnum
ClassEnum | public interface ClassEnum (Code) | | Interface for enumerated implementation classes.
author: Paul Ferraro< Parameters: T - > the implemented interface for each enumerated class |
Method Summary | |
public boolean | isInstance(T object) Indicates whether the specified object is an instance of this enumerated class. | public T | newInstance() Creates a new instance of the enumerated class. |
isInstance | public boolean isInstance(T object)(Code) | | Indicates whether the specified object is an instance of this enumerated class.
Parameters: object - an instance true, if this object is an instance of this enumerated class, false otherwise |
newInstance | public T newInstance() throws Exception(Code) | | Creates a new instance of the enumerated class.
a new instance of the enumerated class throws: Exception - if a new instance could not be instantiated. |
|
|