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 Dec 1, 2004 10 * 11 * Author Ben Yu 12 */ 13 package jfun.parsec; 14 15 /** 16 * Responsible for mapping an array of n objects to one object. 17 * @author Ben Yu 18 * 19 * Dec 1, 2004 20 */ 21 public interface Mapn<R> extends java.io.Serializable{ 22 /** 23 * Map n objects to one. 24 * @param vals the array of objects to map. 25 * @return the map result. 26 */ 27 R map(Object... vals); 28 } 29