public static interface InstanceCookie.Of extends InstanceCookie
InstanceCookie.Of| Modifier and Type | Method and Description |
|---|---|
boolean |
instanceOf(Class<?> type)
Checks if the object created by this cookie is an
instance of the given type.
|
instanceClass, instanceCreate, instanceNameboolean instanceOf(Class<?> type)
type.isAssignableFrom(instanceClass())
But this can prevent the actual class from being
loaded into the Java VM.type - the class type we want to checkBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.