org.robokind.api.common.utils
Class PolymorphicAdapter<A,B>
java.lang.Object
org.robokind.api.common.utils.PolymorphicAdapter<A,B>
- All Implemented Interfaces:
- org.jflux.api.core.Adapter<A,B>
public class PolymorphicAdapter<A,B>
- extends Object
- implements org.jflux.api.core.Adapter<A,B>
- Author:
- Matthew Stevenson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolymorphicAdapter
public PolymorphicAdapter(PolymorphicAdapter.AdapterKeyMap<A> keyMap)
addAdapter
public void addAdapter(String adaptClass,
org.jflux.api.core.Adapter<A,B> adapter)
adapt
public B adapt(A a)
- Specified by:
adapt
in interface org.jflux.api.core.Adapter<A,B>
Copyright © 2011-2013. All Rights Reserved.