Oracle® Coherence Java API Reference
v3.5.3

E15583-01

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, java.io.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, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, 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

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.