public static class SpaceAuthority.PackageFilter extends Object implements SpaceAuthority.Filter<String>
Constructor and Description |
---|
PackageFilter(String packagename) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(String other)
Tests whether or not the object is acceptable.
|
String |
getExpression()
The wildcard expression representing this filter.
|
String |
toString() |
public PackageFilter(String packagename)
public boolean accept(String other)
SpaceAuthority.Filter
accept
in interface SpaceAuthority.Filter<String>
other
- an object to accept.true
if and only if the filter accepts the the given string;
false
otherwise.public String getExpression()
SpaceAuthority.Filter
getExpression
in interface SpaceAuthority.Filter<String>
Copyright © GigaSpaces.