This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
magik-demo:developer:class:core:term [2013/07/19 12:07] alex [Term] |
magik-demo:developer:class:core:term [2017/07/06 15:24] (current) |
||
|---|---|---|---|
| Line 95: | Line 95: | ||
| ---- | ---- | ||
| + | ==== clone ==== | ||
| + | <code java> | ||
| + | @Override | ||
| + | public Object clone () | ||
| + | </code> | ||
| + | |||
| + | **Returns:** | ||
| + | * cloned object (Term type) | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== equals ==== | ||
| + | <code java> | ||
| + | @Override | ||
| + | public boolean equals (Object o) | ||
| + | </code> | ||
| + | |||
| + | Implementation for checking the equality for Term | ||
| + | |||
| + | **Returns:** | ||
| + | * //true// if equal, //false// otherwise | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== toString ==== | ||
| + | <code java> | ||
| + | @Override | ||
| + | public String toString () | ||
| + | </code> | ||
| + | |||
| + | Implementation for converting in String format Term.\\ | ||
| + | This because it has to be respect the variable or constant format. | ||
| + | |||
| + | **Returns:** | ||
| + | * String version of the Term | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== getters and setters methods ==== | ||
| + | <code java> | ||
| + | public java.lang.getTerm() | ||
| + | public void setTerm(java.lang.String term) | ||
| + | </code> | ||
| + | |||
| + | [[magik-demo:developer:class:core:term|Back to Top]] | [[magik-demo:start|Back to Home Page]] | ||