public class ForMatchingPredicateOrAfterXStanzas extends Object implements StanzaFilter
Constructor and Description |
---|
ForMatchingPredicateOrAfterXStanzas(StanzaFilter predicate,
int count) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Stanza packet)
Tests whether or not the specified stanza should pass the filter.
|
public ForMatchingPredicateOrAfterXStanzas(StanzaFilter predicate, int count)
public boolean accept(Stanza packet)
StanzaFilter
accept
in interface StanzaFilter
packet
- the stanza to test.