/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. package memoria.commons.structures.coordinates;
  6. /**
  7. *
  8. * @author diego
  9. */
  10. public abstract class Coordinate{
  11. private String x;
  12. private String y;
  13. private String z;
  14. public Coordinate(String x, String y) {
  15. this.x = x;
  16. this.y = y;
  17. }
  18. public String getX() {
  19. return x;
  20. }
  21. public void setX(String x) {
  22. this.x = x;
  23. }
  24. public String getY() {
  25. return y;
  26. }
  27. public void setY(String y) {
  28. this.y = y;
  29. }
  30. public Coordinate() {
  31. }
  32. public String getZ() {
  33. return z;
  34. }
  35. public void setZ(String z) {
  36. this.z = z;
  37. }
  38. public abstract double to_double_x();
  39. public abstract double to_double_y();
  40. public abstract double to_double_z();
  41. }