KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > parsec > Map2


1 /*****************************************************************************
2  * Copyright (C) Zephyr Business Solutions Corp. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  *****************************************************************************/

8 /*
9  * Created on 2004-11-12
10  *
11  * Author Ben Yu
12  */

13 package jfun.parsec;
14
15 /**
16  * maps two objects to one object.
17  * Replaceable to Map2<A,B,R>.
18  * <p> a -> b -> r
19  * @author Ben Yu
20  *
21  * 2004-11-12
22  */

23 public interface Map2<A,B,R> extends java.io.Serializable JavaDoc{
24   R map(A o1, B o2);
25 }
26
Popular Tags