public static interface BasicNotifierImpl.EScannableAdapterList
public static Adapter getAdapter(List<Adapter> adapters, Object type)
{
for (int i = 0, size = adapters.size(); i < size; ++i)
{
Adapter adapter = adapters.get(i);
if (adapter.isAdapterForType(type))
{
return adapter;
}
}
return null;
}
| Modifier and Type | Method and Description |
|---|---|
Adapter |
getAdapterForType(java.lang.Object type)
Returns that first adapter in the list for which
isAdapterForType(type) return true. |
Adapter getAdapterForType(java.lang.Object type)
isAdapterForType(type) return true.type - the type of adapter to get.isAdapterForType(Object) return true, or null if there isn't one.Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature