public final class AdapterTools extends Object
LegacyAdapter
s for wrapping (and thereby delegating)
between Legacy classes and their Modern equivalents.
As adapters use HashTables to manage delegation between instances, this utility ensures that a single instance of every mapping is statically available, to avoid unnecessary or repetitive wrappings.
Constructor and Description |
---|
AdapterTools() |
public static <T> T getAdapter(Class<T> adapterClass)
Copyright © 2014 Open Microscopy Environment