|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectDefaultFormula
@Immutable public class DefaultFormula
Specification of the coordinate operation method formula.
| referencing/geotk-referencing (download) | View source code for this class |
| Constructor Summary | |
|---|---|
DefaultFormula(CharSequence formula)
Creates a new formula from the given string. |
|
DefaultFormula(Citation citation)
Creates a new formula from the given citation. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares this formula with the given object for equality. |
Citation |
getCitation()
Returns the reference to a publication giving the formula(s) or procedure used by the coordinate operation method, or null if none. |
InternationalString |
getFormula()
Returns the formula(s) or procedure used by the operation method, or null if none. |
int |
hashCode()
Returns a hash code value for this formula. |
String |
toString()
Returns a string representation of this formula. |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFormula(CharSequence formula)
formula - The formula.public DefaultFormula(Citation citation)
citation - The citation.| Method Detail |
|---|
public InternationalString getFormula()
null if none.
getFormula in interface Formulapublic Citation getCitation()
null if none.
getCitation in interface Formulapublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectobject - The object to compare with this formula.
true if both objects are equal.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||