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

org.valkyriercp.rules.constraint.AbstractConstraint Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.rules.constraint;

import java.io.Serializable;
import java.util.Collection;
import java.util.Iterator;

public abstract class AbstractConstraint extends ConstraintsAccessor implements Constraint, Serializable {

	public boolean allTrue(Collection collection) {
		return allTrue(collection, this);
	}

	public boolean allTrue(Iterator it) {
		return allTrue(it, this);
	}

	public boolean anyTrue(Collection collection) {
		return anyTrue(collection, this);
	}

	public boolean anyTrue(Iterator it) {
		return anyTrue(it, this);
	}

	public Collection findAll(Collection collection) {
		return findAll(collection, this);
	}

	public Object findAll(Iterator it) {
		return findAll(it, this);
	}

	public Object findFirst(Collection collection) {
		return findFirst(collection, this);
	}

	public Object findFirst(Iterator it) {
		return findFirst(it, this);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy