Generic Interpreter 1.3
Protected API

gi
Class Lexicon.UnicodeCategory

java.lang.Object
  extended by gi.Lexicon.Expression
      extended by gi.Lexicon.Alphabet
          extended by gi.Lexicon.UnicodeCategory
All Implemented Interfaces:
Cloneable
Enclosing class:
Lexicon

protected static class Lexicon.UnicodeCategory
extends Lexicon.Alphabet

This class implements an Alphabet containing the characters in a Unicode general category.

Version:
1.3
Author:
© 1999-2009 Craig A. Rich <carich@csupomona.edu>

Constructor Summary
Lexicon.UnicodeCategory(byte category)
          Constructs an Alphabet containing the characters in a Unicode general category, and builds the NFA constructed from this Expression.
 
Method Summary
 Object clone()
          Creates a clone of this Alphabet, and replicates the NFA constructed from this Expression.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexicon.UnicodeCategory

public Lexicon.UnicodeCategory(byte category)

Constructs an Alphabet containing the characters in a Unicode general category, and builds the NFA constructed from this Expression. The class Character defines byte constants representing each of the Unicode general categories.

Parameters:
category - The byte representing the Unicode general category.
See Also:
Character
Method Detail

clone

public Object clone()

Creates a clone of this Alphabet, and replicates the NFA constructed from this Expression.

Specified by:
clone in class Lexicon.Expression
Returns:
a clone of this Alphabet.

 

© 1999-2009 Craig A. Rich <carich@csupomona.edu>