net.sourceforge.javaocr.ocrPlugins.mseOCR
Class CharacterRange

java.lang.Object
  extended by net.sourceforge.javaocr.ocrPlugins.mseOCR.CharacterRange

public class CharacterRange
extends Object

Class to represent a range of character codes.

Author:
Ronald B. Cemer

Field Summary
private static Logger LOG
           
 int max
          The maximum character value in this range.
 int min
          The minimum character value in this range.
 
Constructor Summary
CharacterRange(int c)
          Construct a new CharacterRange object for a single character code.
CharacterRange(int min, int max)
          Construct a new CharacterRange object for a range of character codes.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

public final int min
The minimum character value in this range.


max

public final int max
The maximum character value in this range.


LOG

private static final Logger LOG
Constructor Detail

CharacterRange

public CharacterRange(int min,
                      int max)
Construct a new CharacterRange object for a range of character codes.

Parameters:
min - The minimum character value in this range.
max - The maximum character value in this range.

CharacterRange

public CharacterRange(int c)
Construct a new CharacterRange object for a single character code.

Parameters:
c - The character code for this range. This code will be both the minimum and maximum for this range.


Copyright © -2012. All Rights Reserved.