List of usage examples for org.apache.commons.collections Predicate interface-usage
From source file org.apache.archiva.consumers.functors.ConsumerWantsFilePredicate.java
/** * ConsumerWantsFilePredicate */ public class ConsumerWantsFilePredicate implements Predicate { private BaseFile basefile;
From source file org.openvpms.component.business.service.archetype.functor.NodeEquals.java
/**
* A <tt>Predicate</tt> that evaluates <tt>true</tt> if a node equals the
* specified value, otherwise evaluates <tt>false</tt>.
*
* @author <a href="mailto:support@openvpms.org">OpenVPMS Team</a>
* @version $LastChangedDate: 2006-05-02 05:16:31Z $
From source file org.motechproject.server.event.impl.ExpectedObsPredicate.java
public class ExpectedObsPredicate implements Predicate { private String group; public boolean evaluate(Object input) { if (input instanceof ExpectedObs) {
From source file org.motechproject.server.service.impl.ExpectedObsPredicate.java
public class ExpectedObsPredicate implements Predicate { private String name; public boolean evaluate(Object input) { if (input instanceof ExpectedObs) {
From source file org.motechproject.server.event.impl.ExpectedEncounterPredicate.java
public class ExpectedEncounterPredicate implements Predicate { private String group; public boolean evaluate(Object input) { if (input instanceof ExpectedEncounter) {
From source file org.motechproject.server.service.impl.ExpectedEncounterPredicate.java
public class ExpectedEncounterPredicate implements Predicate { private String name; public boolean evaluate(Object input) { if (input instanceof ExpectedEncounter) {
From source file org.motechproject.server.service.impl.EncounterPredicate.java
public class EncounterPredicate implements Predicate { private Date minDate; private Date maxDate; public boolean evaluate(Object input) {
From source file org.motechproject.server.service.impl.ObsPredicate.java
public class ObsPredicate implements Predicate { private Date minDate; private Date maxDate; private Integer value;
From source file org.opennms.web.svclayer.outage.DateFilterPredicate.java
/**
* Filter Predicate implementation which enable date comparison.
*
* Based on example code from: @author Nathan MA
*
* @author <a href="mailto:joed@opennms.org">Johan Edstrom</a>
From source file org.apache.openjpa.util.AbstractLRSProxyCollection.java
/**
* A collection proxy designed for collections backed by extremely large
* result sets in which each call to {@link #iterator} may perform a database
* query. Changes to the collection are tracked through a
* {@link ChangeTracker}. This collection has the following limitations:
* <ul>