]> granicus.if.org Git - icu/commitdiff
ICU-8473 Supplied missing API docs.
authorYoshito Umaoka <y.umaoka@gmail.com>
Wed, 11 May 2011 02:29:39 +0000 (02:29 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Wed, 11 May 2011 02:29:39 +0000 (02:29 +0000)
X-SVN-Rev: 30091

icu4j/main/classes/core/src/com/ibm/icu/util/Region.java

index 7417ff38f706d57d2a02e4361e5e57e6fe6fe26e..baeb48275527a8a3e6a8d6bd80b455c11ac13bf6 100644 (file)
@@ -117,6 +117,14 @@ public class Region implements Comparable<Region> {
         DEPRECATED,
     }
 
+    /**
+     * A constant used for unknown numeric region code.
+     * @see #getNumericCode()
+     * @draft ICU 4.8
+     * @provisional This API might change or be removed in a future release.
+     */
+    public static final int UNDEFINED_NUMERIC_CODE = -1;
+
     private String id;
     private int code;
     private RegionType type;
@@ -132,7 +140,6 @@ public class Region implements Comparable<Region> {
     private static BitSet[] subRegionData = null;
     private static Integer[] containingRegionData = null;
     private static ArrayList<Set<Region>> availableRegions = null;
-    public static final int UNDEFINED_NUMERIC_CODE = -1;
     
     private static final String UNKNOWN_REGION_ID = "ZZ";
     private static final String WORLD_ID = "001";
@@ -545,8 +552,10 @@ public class Region implements Comparable<Region> {
         return this.type.equals(type);
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Comparable#compareTo(java.lang.Object)
+    /**
+     * {@inheritDoc}
+     * @draft ICU 4.8
+     * @provisional This API might change or be removed in a future release.
      */
     public int compareTo(Region other) {
         return id.compareTo(other.id);