|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.location.GeoUtils.CCTLD
public static final class GeoUtils.CCTLD
An immutable DNS ccTLD (two-letter) country code. Lower-case, two-ASCII-letter code.
This is not the ISO3316-1 code; eg the United Kingdom is "uk" not "gb" though "gb" may be acceptable as an alias.
| Field Summary | |
|---|---|
java.lang.String |
code
The two-letter lower-case-ASCII ccTLD; never null. |
| Constructor Summary | |
|---|---|
GeoUtils.CCTLD(java.lang.String code)
Construct instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Two ccTLDs are the same if their underlying codes are the same. |
int |
hashCode()
A fast hash reflecting approx ~5 bits of information per char. |
static boolean |
isSyntaticallyValidCcTLD(java.lang.String code)
True if argument is a (non-null) syntactically-valid ccTLD code. |
java.lang.String |
toString()
This returns the code as its String representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String code
| Constructor Detail |
|---|
public GeoUtils.CCTLD(java.lang.String code)
The code is only checked for syntax, not that such a country code actually exists.
| Method Detail |
|---|
public static boolean isSyntaticallyValidCcTLD(java.lang.String code)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
DHD Multimedia Gallery V1.60.69 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||