Class LabeledItem<T extends Number>

    • Constructor Detail

      • LabeledItem

        public LabeledItem()
        Instantiates a new labeled item.
      • LabeledItem

        public LabeledItem​(String label,
                           T value)
        Instantiates a new labeled item.
        Parameters:
        label - the label
        value - the value
    • Method Detail

      • setLabel

        public void setLabel​(String label)
        Sets the label.
        Parameters:
        label - the label to set
      • getLabel

        public String getLabel()
        Gets the label.
        Returns:
        the label
      • setValue

        public void setValue​(T value)
        Sets the value.
        Parameters:
        value - the value to set
      • getValue

        public T getValue()
        Gets the value.
        Returns:
        the value