![JAR search and dependency download from the Maven repository](/logo.png)
com.noga.njexl.testing.ocr.CharacterRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of njexl.testing Show documentation
Show all versions of njexl.testing Show documentation
The Commons Jexl library is an implementation of the JSTL Expression Language with extensions.
This was customized by nmondal.
The newest version!
package com.noga.njexl.testing.ocr;
import java.util.logging.Logger;
public class CharacterRange
{
/**
* The minimum character value in this range.
*/
public final int min;
/**
* The maximum character value in this range.
*/
public final int max;
/**
* Construct a new CharacterRange
object for a range of
* character codes.
* @param min The minimum character value in this range.
* @param max The maximum character value in this range.
*/
public CharacterRange(int min, int max)
{
if (min > max)
{
throw new InternalError("max must be >= min");
}
this.min = min;
this.max = max;
}
/**
* Construct a new CharacterRange
object for a single
* character code.
* @param c The character code for this range. This code will be both
* the minimum and maximum for this range.
*/
public CharacterRange(int c)
{
this(c, c);
}
private static final Logger LOG = Logger.getLogger(CharacterRange.class.getName());
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy