Class BooleanClassFilter

java.lang.Object
org.jboss.modules.filter.BooleanClassFilter
All Implemented Interfaces:
ClassFilter

final class BooleanClassFilter extends Object implements ClassFilter
  • Field Details

  • Constructor Details

    • BooleanClassFilter

      private BooleanClassFilter(boolean result)
  • Method Details

    • accept

      public boolean accept(String path)
      Description copied from interface: ClassFilter
      Determine whether a class name should be accepted by this filter. The class name is qualified with a dot-separated package name.
      Specified by:
      accept in interface ClassFilter
      Parameters:
      path - the class name
      Returns:
      true to accept the class, false otherwise
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object