Package | Description |
---|---|
org.openide.util.lookup |
Support classes for the Registration and
Lookup extension mechanism. |
Modifier and Type | Method and Description |
---|---|
<T,R> void |
InstanceContent.add(T inst,
InstanceContent.Convertor<T,R> conv)
Adds a convertible instance into the lookup.
|
static <T,R> Lookup |
Lookups.fixed(T[] keys,
InstanceContent.Convertor<? super T,R> convertor)
Creates a lookup that contains an array of objects specified via the
parameter.
|
<T,R> void |
InstanceContent.remove(T inst,
InstanceContent.Convertor<T,R> conv)
Remove instance added with a convertor.
|
<T,R> void |
InstanceContent.set(Collection<T> col,
InstanceContent.Convertor<T,R> conv)
Changes all pairs in the lookup to new values.
|