KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > parsec > pattern > CharPredicate


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 package jfun.parsec.pattern;
10
11 /**
12  * The interface to test a character value.
13  * Created on 2004-11-7
14  *
15  * Author Ben Yu
16  */

17 public interface CharPredicate extends java.io.Serializable JavaDoc {
18   /**
19    * tests whether the character satisfies the predicate.
20    * @param c
21    * @return whether the character satisfies the predicate.
22    */

23   boolean isChar(final char c);
24 }
25
Popular Tags