Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.util.filter
Class OrFilter

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.AnyFilter
                      extended by com.tangosol.util.filter.OrFilter
All Implemented Interfaces:
ExternalizableLite, PortableObject, Filter, EntryFilter, IndexAwareFilter, java.io.Serializable

public class OrFilter
extends AnyFilter

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

Author:
cp/gg 2002.10.27

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
OrFilter()
          Default constructor (necessary for the ExternalizableLite interface).
OrFilter(Filter filterLeft, Filter filterRight)
          Construct an "or" filter.
 
Method Summary
 
Methods inherited from class com.tangosol.util.filter.AnyFilter
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

OrFilter

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


OrFilter

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

filterLeft || filterRight

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

Oracle® Coherence Java API Reference
v3.5

E14977-01

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