Class FilterKey

  • All Implemented Interfaces:
    java.io.Serializable

    public final class FilterKey
    extends java.lang.Object
    implements java.io.Serializable
    Allows cached queries to be keyed by enabled filters.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<FilterKey> createFilterKeys​(java.util.Map<java.lang.String,​Filter> enabledFilters)
      Constructs a number of FilterKey instances, given the currently enabled filters
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • hashCode

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

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

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

        public static java.util.Set<FilterKey> createFilterKeys​(java.util.Map<java.lang.String,​Filter> enabledFilters)
        Constructs a number of FilterKey instances, given the currently enabled filters
        Parameters:
        enabledFilters - The currently enabled filters
        Returns:
        The filter keys, one per enabled filter