public abstract static class AbstractLookup.Pair<T> extends Lookup.Item<T> implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
AbstractLookup.Pair()
For use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
creatorOf(Object obj)
Method that can test whether an instance of a class has been created
by this item.
|
protected abstract boolean |
instanceOf(Class<?> c)
Tests whether this item can produce object
of class c.
|
getDisplayName, getId, getInstance, getType, toString
protected abstract boolean instanceOf(Class<?> c)
protected abstract boolean creatorOf(Object obj)
obj
- the instanceBuilt on September 3 2013. | Portions Copyright 1997-2013 Sun Microsystems, Inc. All rights reserved.