org.erights.e.elib.util
Class IdentityFunc
java.lang.Object
|
+--org.erights.e.elib.util.IdentityFunc
- All Implemented Interfaces:
- OneArgFunc
- public class IdentityFunc
- extends Object
- implements OneArgFunc
Untamed: Just returns its argument
- Author:
- Mark S. Miller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THE_ONE
public static final IdentityFunc THE_ONE
- Enabled: The canonical instance
IdentityFunc
private IdentityFunc()
run
public Object run(Object arg)
- Enabled: Returns arg
- Specified by:
run
in interface OneArgFunc
comments?