com.phoenixst.collections

Class AllPredicate

public final class AllPredicate extends Object implements Predicate, Serializable

A Predicate which returns the logical short-circuit and of its operands.

This is mostly equivalent to the class of the same name in Jakarta Commons-Collections 3.0. The deserialization process in this version checks for null fields. No equivalent exists in version 2.1.

Since: 1.0

Version: $Revision: 1.12 $

Author: Ray A. Conner

Constructor Summary
AllPredicate(Predicate[] predicates)
Creates a new AllPredicate.
AllPredicate(Collection predicates)
Creates a new AllPredicate.
Method Summary
booleanequals(Object object)
booleanevaluate(Object object)
ListgetOperands()
Returns an unmodifiable List of the argument Predicates being used by this AllPredicate.
inthashCode()
StringtoString()

Constructor Detail

AllPredicate

public AllPredicate(Predicate[] predicates)
Creates a new AllPredicate.

AllPredicate

public AllPredicate(Collection predicates)
Creates a new AllPredicate.

Method Detail

equals

public boolean equals(Object object)

evaluate

public boolean evaluate(Object object)

getOperands

public List getOperands()
Returns an unmodifiable List of the argument Predicates being used by this AllPredicate.

hashCode

public int hashCode()

toString

public String toString()
See the Plexus project home, hosted by SourceForge.
Copyright B) 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.