A
- The input/output typepublic final class Id<A> extends Object implements Fn1<A,A>
Modifier and Type | Method and Description |
---|---|
A |
checkedApply(A a)
Invoke this function with the given argument, potentially throwing any
Throwable . |
static <A> Id<A> |
id() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, apply, carry, cartesian, censor, choose, cocartesian, compose, contraMap, diMap, diMapL, diMapR, discardL, discardR, flatMap, fmap, fn1, fromFunction, lazyZip, listens, local, pure, pureFn1, thunk, toFunction, trampolineM, widen, zip, zip
public A checkedApply(A a)
Fn1
Throwable
.checkedApply
in interface Fn1<A,A>
a
- the argumentpublic static <A> Id<A> id()