< prev index next >

src/java.base/share/classes/java/util/Locale.java

Print this page

        

@@ -3232,10 +3232,11 @@
          * Returns an informative string representation of this {@code LanguageRange}
          * object, consisting of language range and weight if the range is
          * weighted and the weight is less than the max weight.
          *
          * @return a string representation of this {@code LanguageRange} object.
+         * @since 9
          */
         @Override
         public String toString() {
             return (weight == MAX_WEIGHT) ? range : range + ";q=" + weight;
         }
< prev index next >