All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.venky.parse.character.CharRange Maven / Gradle / Ivy

There is a newer version: 1.18
Show newest version
package com.venky.parse.character;




public class CharRange extends AbstractSingleCharacterRule{
	private char low ; 
	private char hi;
	public CharRange(char low,char hi){
		super();
		this.low = low; 
		this.hi = hi;
	}


	@Override
	protected boolean match(char c) {
		if (low <= c && c <= hi){
			return true;
		}
		return false;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy