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 one object to another. 17 * Replaceable with Map<From,To>. 18 * <p> a -> r 19 * @author Ben Yu 20 * 21 * 2004-11-12 22 */ 23 public interface Map<From,To> extends java.io.Serializable{ 24 To map(From v); 25 } 26