Class ShortcutPredicates

  • All Implemented Interfaces:
    org.jivesoftware.smack.filter.StanzaFilter, org.jivesoftware.smack.util.Predicate<org.jivesoftware.smack.packet.Stanza>

    public class ShortcutPredicates
    extends java.lang.Object
    implements org.jivesoftware.smack.filter.StanzaFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      ShortcutPredicates()  
      ShortcutPredicates​(java.util.Collection<? extends org.jivesoftware.smack.filter.StanzaFilter> predicates)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(org.jivesoftware.smack.packet.Stanza packet)  
      boolean addPredicate​(org.jivesoftware.smack.filter.StanzaFilter predicate)  
      boolean removePredicate​(org.jivesoftware.smack.filter.StanzaFilter prediacte)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jivesoftware.smack.filter.StanzaFilter

        asPredicate, test
    • Constructor Detail

      • ShortcutPredicates

        public ShortcutPredicates()
      • ShortcutPredicates

        public ShortcutPredicates​(java.util.Collection<? extends org.jivesoftware.smack.filter.StanzaFilter> predicates)
    • Method Detail

      • addPredicate

        public boolean addPredicate​(org.jivesoftware.smack.filter.StanzaFilter predicate)
      • removePredicate

        public boolean removePredicate​(org.jivesoftware.smack.filter.StanzaFilter prediacte)
      • accept

        public boolean accept​(org.jivesoftware.smack.packet.Stanza packet)
        Specified by:
        accept in interface org.jivesoftware.smack.filter.StanzaFilter