2828/**
2929 * This class defines a single mapcode encoding result, including the alphanumeric code and the
3030 * territory definition.
31- * <p/>
31+ *
3232 * On terminology, mapcode territory and mapcode code:
33- * <p/>
33+ *
3434 * In written form. a mapcode is defined as an alphanumeric code, optionally preceded by a
3535 * territory code.
36- * <p/>
36+ *
3737 * For example: "NLD 49.4V" is a mapcode, but "49.4V" is a mapcode as well, The latter is called
3838 * a "local" mapcode, because it is not internationally unambiguous unless preceded by a territory
3939 * code.
40- * <p/>
40+ *
4141 * For "NLD 49.4V" the "NLD"-part is called "the territory" and the "49.4V"-part is called
4242 * "the code" (which are both part of "the mapcode").
43- * <p/>
43+ *
4444 * This distinction between "territory" and "code" in a mapcode is why the interface of this class
4545 * has been changed from version 1.50.0 to reflect this terminology.
46- * <p/>
46+ *
4747 * On alphabets:
48- * <p/>
48+ *
4949 * Mapcode codes can be represented in different alphabets. Note that an alphabet is something else
5050 * than a locale or a language. The supported alphabets for mapcodes are listed in {@link Alphabet}.
51- * <p/>
51+ *
5252 * Mapcode objects provide methods to obtain the mapcode code in a specific alphabet. By default,
5353 * the {@link Alphabet#ROMAN} is used.
5454 */
@@ -63,10 +63,10 @@ public final class Mapcode {
6363 /**
6464 * Create a mapcode object. Normally, mapcodes are created be encoding a lat/lon pair
6565 * using {@link MapcodeCodec#encode(double, double)} rather than creating them yourself.
66- * <p/>
66+ *
6767 * Note that it is possible to create invalid mapcodes this way, which are syntactically
6868 * correct.
69- * <p/>
69+ *
7070 * Note that the constructor will throw an {@link IllegalArgumentException} if the syntax of the mapcode
7171 * is not correct. The mapcode is not checked for validity, other than its syntax.
7272 *
@@ -116,7 +116,7 @@ else if (extensionLength > 8) {
116116 /**
117117 * Get the Mapcode string (without territory information) with standard precision.
118118 * The returned mapcode does not include the '-' separator and additional digits.
119- * <p/>
119+ *
120120 * A mapcode defines an area of approximately 10 x 10 meters (100 m2) and will decode
121121 * to the center of that area. On average, the original coordinate will be 3.6 meters
122122 * from this center: the average inaccuracy of a mapcode.
@@ -137,15 +137,15 @@ public String getCode() {
137137 /**
138138 * Get the mapcode code (without territory information) with a specified precision.
139139 * The returned mapcode includes a '-' separator and additional digits for precisions 1 to 8.
140- * <p/>
140+ *
141141 * The precision defines the size of a geographical area a single mapcode covers. This means It also defines
142142 * the maximum distance to the location, a (latitude, longitude) pair, that encoded to this mapcode.
143- * <p/>
143+ *
144144 * Precision 0: area is approx 10 x 10 meters (100 m2); max. distance from original location less than 7.5 meters.
145145 * Precision 1: area is approx 3.33 m2; max. distance from original location less than 1.5 meters.
146146 * Precision 1: area is approx 0.11 m2; max. distance from original location less than 0.4 meters.
147147 * etc. (each level reduces the area by a factor of 30)
148- * <p/>
148+ *
149149 * The accuracy is slightly better than the figures above, but these figures are safe assumptions.
150150 *
151151 * @param precision Precision. Range: 0..8.
@@ -176,7 +176,7 @@ public String getCode(final int precision) throws IllegalArgumentException {
176176 * Return the full international mapcode, including the full name of the territory and the mapcode code itself.
177177 * The format of the string is:
178178 * full-territory-name cde
179- * <p/>
179+ *
180180 * Example:
181181 * Netherlands 49.4V (regular code)
182182 * Netherlands 49.4V-K2 (high precision code)
@@ -211,7 +211,7 @@ public String getCodeWithTerritoryFullname() {
211211 * International codes use a territory code "AAA".
212212 * The format of the code is:
213213 * short-territory-name mapcode
214- * <p/>
214+ *
215215 * Example:
216216 * NLD 49.4V (regular code)
217217 * NLD 49.4V-K2 (high-precision code)
@@ -282,7 +282,7 @@ public Territory getTerritory() {
282282 /**
283283 * This method return the mapcode type, given a mapcode string. If the mapcode string has an invalid
284284 * format, an exception is thrown.
285- * <p/>
285+ *
286286 * Note that this method only checks the syntactic validity of the mapcode, the string format. It does not
287287 * check if the mapcode is really a valid mapcode representing a position on Earth.
288288 *
@@ -363,7 +363,7 @@ public static boolean containsTerritory(@Nonnull final String mapcode) throws Il
363363 * Get a safe maximum for the distance between a decoded mapcode and its original
364364 * location used for encoding the mapcode. The actual accuracy (resolution) of mapcodes is
365365 * better than this, but these are safe values to use under normal circumstances.
366- * <p/>
366+ *
367367 * Do not make any other assumptions on these numbers than that mapcodes are never more off
368368 * by this distance.
369369 *
0 commit comments