PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/Prototipo/PrototipoCommons/src/memoria/commons/structures/coordinates/Coordinate.java

http://prototipomemoria.googlecode.com/
Java | 58 lines | 33 code | 17 blank | 8 comment | 0 complexity | 6583c8d20ef0a3512a062e63c866e423 MD5 | raw file
 1/*
 2 * To change this template, choose Tools | Templates
 3 * and open the template in the editor.
 4 */
 5
 6package memoria.commons.structures.coordinates;
 7
 8/**
 9 *
10 * @author diego
11 */
12public abstract class Coordinate{
13
14    private String x;
15    private String y;
16    private String z;
17
18    public Coordinate(String x, String y) {
19        this.x = x;
20        this.y = y;
21    }
22
23    public String getX() {
24        return x;
25    }
26
27    public void setX(String x) {
28        this.x = x;
29    }
30
31    public String getY() {
32        return y;
33    }
34
35    public void setY(String y) {
36        this.y = y;
37    }
38
39    public Coordinate() {
40    }
41
42    public String getZ() {
43        return z;
44    }
45
46    public void setZ(String z) {
47        this.z = z;
48    }
49
50    
51
52    public abstract double to_double_x();
53    public abstract double to_double_y();
54    public abstract double to_double_z();
55
56
57
58}