final class MultiplePathFilter extends java.lang.Object implements PathFilter
| Modifier and Type | Field and Description |
|---|---|
private boolean |
defaultVal |
private PathFilter[] |
filters |
private int |
hashCode |
private boolean[] |
includeFlag |
| Constructor and Description |
|---|
MultiplePathFilter(PathFilter[] filters,
boolean[] includeFlag,
boolean defaultVal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String path)
Determine whether a path should be accepted.
|
boolean |
equals(MultiplePathFilter other) |
boolean |
equals(java.lang.Object other)
Determine whether this filter is equal to another.
|
int |
hashCode()
Calculate a unique hash code for this path filter.
|
java.lang.String |
toString() |
private final PathFilter[] filters
private final boolean[] includeFlag
private final boolean defaultVal
private final int hashCode
MultiplePathFilter(PathFilter[] filters, boolean[] includeFlag, boolean defaultVal)
public boolean accept(java.lang.String path)
PathFilter/" characters.accept in interface PathFilterpath - the path to checkpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
PathFilterhashCode in interface PathFilterhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
PathFilterequals in interface PathFilterequals in class java.lang.Objectother - the other objecttrue if this filter is the samepublic boolean equals(MultiplePathFilter other)