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

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

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



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

	@Override
	protected boolean match(char c) {
		if (c < low || c > hi){
			return true;
		}else {
			return false;
		}
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy