Class IdFilter<E extends Identifiable>

  • All Implemented Interfaces:
    Filter<E>

    public class IdFilter<E extends Identifiable>
    extends java.lang.Object
    implements Filter<E>
    Created with IntelliJ IDEA.
    Since:
    : 2/1/2015 Time : 2:41 PM
    • Constructor Summary

      Constructors 
      Constructor Description
      IdFilter​(int[] ids)  
      IdFilter​(java.lang.Integer... ids)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(E acceptable)
      If object match's arguments.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.dreambot.api.methods.filter.Filter

        and, negate, or
    • Constructor Detail

      • IdFilter

        public IdFilter​(java.lang.Integer... ids)
      • IdFilter

        public IdFilter​(int[] ids)
    • Method Detail

      • match

        public boolean match​(E acceptable)
        Description copied from interface: Filter
        If object match's arguments.
        Specified by:
        match in interface Filter<E extends Identifiable>
        Parameters:
        acceptable - the acceptable
        Returns:
        the boolean