Class LabelAndValue


  • public final class LabelAndValue
    extends java.lang.Object
    Single label and its value, usually contained in a FacetResult.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String label
      Facet's label.
      java.lang.Number value
      Value associated with this label.
    • Constructor Summary

      Constructors 
      Constructor Description
      LabelAndValue​(java.lang.String label, java.lang.Number value)
      Sole constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object _other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • label

        public final java.lang.String label
        Facet's label.
      • value

        public final java.lang.Number value
        Value associated with this label.
    • Constructor Detail

      • LabelAndValue

        public LabelAndValue​(java.lang.String label,
                             java.lang.Number value)
        Sole constructor.
    • Method Detail

      • toString

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

        public boolean equals​(java.lang.Object _other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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