Package org.jboss.modules.filter
Class BooleanClassFilter
java.lang.Object
org.jboss.modules.filter.BooleanClassFilter
- All Implemented Interfaces:
ClassFilter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final BooleanClassFilter
private final boolean
(package private) static final BooleanClassFilter
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
result
private final boolean result -
TRUE
-
FALSE
-
-
Constructor Details
-
BooleanClassFilter
private BooleanClassFilter(boolean result)
-
-
Method Details
-
accept
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 interfaceClassFilter
- Parameters:
path
- the class name- Returns:
true
to accept the class,false
otherwise
-
hashCode
public int hashCode() -
equals
-
toString
-