final class BooleanClassFilter extends java.lang.Object implements ClassFilter
| Modifier and Type | Field and Description |
|---|---|
(package private) static BooleanClassFilter |
FALSE |
private boolean |
result |
(package private) static BooleanClassFilter |
TRUE |
| Modifier | Constructor and Description |
|---|---|
private |
BooleanClassFilter(boolean result) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String path)
Determine whether a class name should be accepted by this filter.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
private final boolean result
static final BooleanClassFilter TRUE
static final BooleanClassFilter FALSE
public boolean accept(java.lang.String path)
ClassFilteraccept in interface ClassFilterpath - the class nametrue to accept the class, false otherwisepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object