Class FilterSet.Entry<E extends Filter>

  • All Implemented Interfaces:
    Dumpable
    Enclosing class:
    FilterSet<E extends Filter>

    public static class FilterSet.Entry<E extends Filter>
    extends java.lang.Object
    implements Dumpable
    Holds a filter entry
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(E filter, boolean include)
      Constructs a new entry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(DumpContext ctx, boolean isLast)
      Dumps some human readable information using the given context.
      boolean equals​(java.lang.Object o)
      E getFilter()
      Returns the filter of this entry
      int hashCode()
      boolean isInclude()
      Returns the 'include' flag of this entry
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Entry

        public Entry​(@Nonnull
                     E filter,
                     boolean include)
        Constructs a new entry
        Parameters:
        filter - the filter
        include - the include flag
    • Method Detail

      • getFilter

        @Nonnull
        public E getFilter()
        Returns the filter of this entry
        Returns:
        the filter
      • isInclude

        public boolean isInclude()
        Returns the 'include' flag of this entry
        Returns:
        the flag
      • dump

        public void dump​(@Nonnull
                         DumpContext ctx,
                         boolean isLast)
        Dumps some human readable information using the given context.
        Specified by:
        dump in interface Dumpable
        Parameters:
        ctx - the dump context
        isLast - specifies if this is the last element to dump on this level
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object