com.cybozu.labs.langdetect

## Class Language

- java.lang.Object
- - com.cybozu.labs.langdetect.Language

-     public class Language
      extends java.lang.Object

  `Language` is to store the detected language. `Detector.getProbabilities()` returns an `ArrayList` of `Language`s.
  Author:
    Nakatani Shuyo
  See Also:
    `Detector.getProbabilities()`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.String` | `lang`
    `double` | `prob`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Language(java.lang.String lang, double prob)`

  - ### Method Summary

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

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

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

- - ### Field Detail

    - #### lang

          public java.lang.String lang

    - #### prob

          public double prob

  - ### Constructor Detail

    - #### Language

          public Language(java.lang.String lang,
                  double prob)

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

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