Class Category


  • public class Category
    extends Object
    Stores the result of a Facets search.

    It includes a map with all labels within a specific category.

    Version:
    1.0
    • Constructor Detail

      • Category

        public Category​(String name,
                        int count)
        Creates a Category
        Parameters:
        name - Name of category
        count - count
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getCount

        public int getCount()
      • setCount

        public void setCount​(int count)
      • setLabel

        public void setLabel​(String label,
                             int count)
      • getCount

        public int getCount​(String label)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object