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

com.venky.parse.composite.AbstractCompositeRule Maven / Gradle / Ivy

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

import com.venky.parse.Rule;

public abstract class AbstractCompositeRule extends Rule {
	protected final Rule[] rules ;
	protected AbstractCompositeRule(Rule... rules ){
		this.rules = rules;
	}
	
	public Object clone(){
		AbstractCompositeRule cr = (AbstractCompositeRule)super.clone();
		for (int i = 0 ; i < rules.length ; i ++){
			cr.rules[i] = (Rule)rules[i].clone();
		}
		
		return cr;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy