Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.util
Class IntersectedFilters

java.lang.Object
  extended by oracle.ide.util.IntersectedFilters

public final class IntersectedFilters
extends java.lang.Object

Utility class for obtaining the intersection of multiple PatternFilter instances.


Constructor Summary
IntersectedFilters(IntersectedFilters filters1, IntersectedFilters filters2)
          Constructor that creates an IntersectedFilters that is composed of the intersection of two other IntersectedFilters instances.
IntersectedFilters(PatternFilters filters1)
          Convenience constructor for creating an IntersectedFilters that encapsulates only one PatternFilters instance.
IntersectedFilters(PatternFilters[] filters)
          Constructor for creating an IntersectedFilters that encapsulates an arbitrary number of other PatternFilters instances.
IntersectedFilters(PatternFilters filters1, PatternFilters filters2)
          Convenience constructor for creating an IntersectedFilters that encapsulates only two PatternFilters instances.
IntersectedFilters(PatternFilters filters1, PatternFilters filters2, PatternFilters filters3)
          Convenience constructor for creating an IntersectedFilters that encapsulates only three PatternFilters instances.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 TriStateBoolean inferFromFilters(java.lang.String relPath)
           
 IntersectedFilters intersectWith(IntersectedFilters filters)
          Creates an IntersectedFilter from this filter and an additional intersected filter.
 IntersectedFilters intersectWith(PatternFilters filters)
          Creates an IntersectedFilter from this filter and additional pattern filter.
 boolean isIncluded(java.lang.String relPath)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntersectedFilters

public IntersectedFilters(PatternFilters[] filters)
Constructor for creating an IntersectedFilters that encapsulates an arbitrary number of other PatternFilters instances.


IntersectedFilters

public IntersectedFilters(IntersectedFilters filters1,
                          IntersectedFilters filters2)
Constructor that creates an IntersectedFilters that is composed of the intersection of two other IntersectedFilters instances.


IntersectedFilters

public IntersectedFilters(PatternFilters filters1)
Convenience constructor for creating an IntersectedFilters that encapsulates only one PatternFilters instance.


IntersectedFilters

public IntersectedFilters(PatternFilters filters1,
                          PatternFilters filters2)
Convenience constructor for creating an IntersectedFilters that encapsulates only two PatternFilters instances.


IntersectedFilters

public IntersectedFilters(PatternFilters filters1,
                          PatternFilters filters2,
                          PatternFilters filters3)
Convenience constructor for creating an IntersectedFilters that encapsulates only three PatternFilters instances.

Method Detail

intersectWith

public IntersectedFilters intersectWith(PatternFilters filters)
Creates an IntersectedFilter from this filter and additional pattern filter. If the pattern filter is null, returns this.


intersectWith

public IntersectedFilters intersectWith(IntersectedFilters filters)
Creates an IntersectedFilter from this filter and an additional intersected filter. If the pattern filters are null, returns this.


inferFromFilters

public TriStateBoolean inferFromFilters(java.lang.String relPath)

isIncluded

public boolean isIncluded(java.lang.String relPath)

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.