Class SearchContext


  • public class SearchContext
    extends Object
    The search results are grouped by context. In order to visualize it accordingly each context must have a name and weight.
    Author:
    mvrueden
    • Constructor Detail

      • SearchContext

        public SearchContext​(String name)
      • SearchContext

        public SearchContext​(String name,
                             int weight)
    • Method Detail

      • getName

        public String getName()
      • getWeight

        public int getWeight()
      • contributesTo

        public boolean contributesTo​(String contextName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object