|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.cs.CRSCodeType
org.deegree.cs.EPSGCode
public class EPSGCode
The EPSGCode class formalizes the CRSIdentifiables object codes that were issued by EPSG. An instance of
this class will represent all the EPSG codes variants that denote the same object.
| Constructor Summary | |
|---|---|
EPSGCode(int codeNo)
Construct an EPSGCode, i.e. a CRSCodeType with code space equals "EPSG". |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
int |
getCodeNo()
Returns the code number associated with this EPSG code |
int |
hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. |
| Methods inherited from class org.deegree.cs.CRSCodeType |
|---|
getCode, getCodeSpace, getCodeVersion, getOriginal, getUndefined, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPSGCode(int codeNo)
codeNo - | Method Detail |
|---|
public int getCodeNo()
public boolean equals(java.lang.Object other)
equals in class CRSCodeTypepublic int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode in class CRSCodeTypeObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||