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:atom [2013/07/19 11:44] alex [getters and setters methods] |
magik-demo:developer:class:core:atom [2017/07/06 15:24] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Class for the definition an Atom. Atom managing all the functions for atoms.\\ | Class for the definition an Atom. Atom managing all the functions for atoms.\\ | ||
| + | |||
| + | {{ :magik-demo:developer:schema2.png?nolink&600 |}} | ||
| + | |||
| ===== Class Attributes ===== | ===== Class Attributes ===== | ||
| Line 14: | Line 17: | ||
| </code> | </code> | ||
| - | ===== Class Constructor ===== | + | ===== Class Constructors ===== |
| ==== Atom ==== | ==== Atom ==== | ||
| Line 252: | Line 255: | ||
| ---- | ---- | ||
| + | ==== clone ==== | ||
| + | <code java> | ||
| + | @Override | ||
| + | public Object clone () | ||
| + | </code> | ||
| + | |||
| + | **Returns:** | ||
| + | * cloned object (Atom type) | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== equals ==== | ||
| + | <code java> | ||
| + | @Override | ||
| + | public boolean equals (Object o) | ||
| + | </code> | ||
| + | |||
| + | Implementation for checking the equality for Atom | ||
| + | |||
| + | **Returns:** | ||
| + | * //true// if equal, //false// otherwise | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== toString ==== | ||
| + | <code java> | ||
| + | @Override | ||
| + | public String toString () | ||
| + | </code> | ||
| + | |||
| + | Implementation for converting in String format Atom. | ||
| + | |||
| + | **Returns:** | ||
| + | * String version of the atom | ||
| + | |||
| + | ---- | ||
| + | |||
| ==== getters and setters methods ==== | ==== getters and setters methods ==== | ||
| <code java> | <code java> | ||
| Line 264: | Line 306: | ||
| </code> | </code> | ||
| + | |||
| + | [[magik-demo:developer:class:core:atom|Back to Top]] | [[magik-demo:start|Back to Home Page]] | ||