KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > parsec > FromString2


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 Nov 20, 2004
10  *
11  * Author Ben Yu
12  */

13 package jfun.parsec;
14
15 /**
16  * maps 2 strings to an Object.
17  * <p> CharSequence -> CharSequence -> a
18  * @author Ben Yu
19  *
20  * Nov 20, 2004
21  */

22 public interface FromString2<R> extends java.io.Serializable JavaDoc{
23   /**
24    * @param from the starting index of this character token.
25    * @param len the length of this token.
26    * @param s1 1st string.
27    * @param s2 2nd string.
28    * @return the Object.
29    */

30   R fromString2(int from, int len, String JavaDoc s1, String JavaDoc s2);
31 }
32
Popular Tags