Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.sction.security.captcha;
 
 import java.util.List;
 
public class RandomFilterFactory implements FilterFactory {
	private Random random = new Random();
	public RandomFilterFactory() {
	}
	public RandomFilterFactory(FilterFactory... filterFactory) {
		 = Arrays.asList(filterFactory);
	}
	public void addFilterFactory(FilterFactory filterFactory) {
		.add(filterFactory);
	}
		return filterFactory.applyFilters(source);
	}
	public void setFilterFactories(List<FilterFactoryfilterFactories) {
		this. = filterFactories;
	}
New to GrepCode? Check out our FAQ X