Class FilterSet.Entry<E extends Filter>

    • Field Detail

      • filter

        @NotNull
        protected final E extends Filter filter
        The item filter
      • include

        protected final boolean include
        indicates if this an include filter
    • Constructor Detail

      • Entry

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

      • getFilter

        @NotNull
        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​(@NotNull
                         @NotNull 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 Object