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

org.joo.libra.collection.NotInPredicate Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package org.joo.libra.collection;

import java.util.Collection;

import org.joo.libra.common.BinaryPredicate;
import org.joo.libra.common.HasValue;

public class NotInPredicate extends BinaryPredicate> {

	public NotInPredicate(HasValue one, HasValue> other) {
		super(one, other);
	}

	@Override
	protected boolean doSatisifiedBy(Object one, Collection other) {
		return !other.contains(one);
	}
}