Package com.tibco.patterns.learn.api.project

## Class ValueFreq

- java.lang.Object
- - com.tibco.patterns.learn.jaxb.project.ValueFreqType
  - - com.tibco.patterns.learn.api.project.ValueFreq

-     public final class ValueFreq
      extends com.tibco.patterns.learn.jaxb.project.ValueFreqType

  Stores one field value and its frequency.

- - ### Field Summary

    - ### Fields inherited from class com.tibco.patterns.learn.jaxb.project.ValueFreqType

      `frequency, value`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ValueFreq​(com.tibco.patterns.learn.jaxb.project.ValueFreqType vf)` | Copies data from XML ValueFreqType.
    `ValueFreq​(java.lang.String value, float frequency)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `toString()` |

    - ### Methods inherited from class com.tibco.patterns.learn.jaxb.project.ValueFreqType

      `getFrequency, getValue, setFrequency, setValue`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ValueFreq

          public ValueFreq​(java.lang.String value,
                           float frequency)

      Parameters:
        `value` - - field value.
        `frequency` - - frequency of that value.

    - #### ValueFreq

          public ValueFreq​(com.tibco.patterns.learn.jaxb.project.ValueFreqType vf)

      Copies data from XML ValueFreqType.

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`