Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Generic 1-arg function type.
- */
- public abstract class Function1<A, B> {
- /**
- * Transform <code>A</code> to <code>B</code>.
- *
- * @param a <code>A</code> to transform
- * @return result of the transformation
- */
- public abstract B apply(A a) throws Exception;
- }
Advertisement
Add Comment
Please, Sign In to add comment