CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.util.filter
Class AndFilter

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.BitHelper
          extended by com.tangosol.util.ExternalizableHelper
              extended by com.tangosol.util.filter.ArrayFilter
                  extended by com.tangosol.util.filter.AllFilter
                      extended by com.tangosol.util.filter.AndFilter
All Implemented Interfaces:
ExternalizableLite, PortableObject, Filter, EntryFilter, IndexAwareFilter, Serializable
Direct Known Subclasses:
BetweenFilter

public class AndFilter
extends AllFilter

Filter which returns the logical "and" of two other filters.

Author:
cp/gg 2002.10.26

Nested Class Summary
 
Nested classes/interfaces inherited from class com.tangosol.util.filter.ArrayFilter
ArrayFilter.WeightedFilter
 
Field Summary
 
Fields inherited from class com.tangosol.util.filter.ArrayFilter
m_aFilter
 
Constructor Summary
AndFilter()
          Default constructor (necessary for the ExternalizableLite interface).
AndFilter(Filter filterLeft, Filter filterRight)
          Construct an "and" filter.
 
Method Summary
 
Methods inherited from class com.tangosol.util.filter.AllFilter
applyIndex, calculateEffectiveness, evaluate, evaluateEntry
 
Methods inherited from class com.tangosol.util.filter.ArrayFilter
applyFilter, calculateFilters, equals, getFilters, hashCode, readExternal, readExternal, toString, writeExternal, writeExternal
 
Methods inherited from class com.tangosol.util.BitHelper
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, toBitString, toBitString, toBitString
 

Constructor Detail

AndFilter

public AndFilter()
Default constructor (necessary for the ExternalizableLite interface).


AndFilter

public AndFilter(Filter filterLeft,
                 Filter filterRight)
Construct an "and" filter. The result is defined as:

filterLeft && filterRight

Parameters:
filterLeft - the "left" filter
filterRight - the "right" filter

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation