Coinjema
1.7

org.coinjema.util
Class BaseDuckType

java.lang.Object
  extended by org.coinjema.util.BaseDuckType
All Implemented Interfaces:
DuckType

public class BaseDuckType
extends Object
implements DuckType


Constructor Summary
BaseDuckType()
           
 
Method Summary
 void addMethod(Functor<?> f)
           
 void addMethod(Object o, String methodName)
           
 void addMethod(String name, Functor iw)
           
 void addMethods(Object o, String[] methodNames)
           
 Object ex(String method, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDuckType

public BaseDuckType()
Method Detail

addMethod

public void addMethod(String name,
                      Functor iw)

addMethod

public void addMethod(Functor<?> f)

addMethod

public void addMethod(Object o,
                      String methodName)

addMethods

public void addMethods(Object o,
                       String[] methodNames)

ex

public Object ex(String method,
                 Object... args)
Specified by:
ex in interface DuckType

Coinjema
1.7

Public Domain Software.