summaryrefslogtreecommitdiff
path: root/src/main/java/ihl/handpump/XYZ.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
commit0427ab89f1753a44b30cbc35ce021cbbdc845109 (patch)
treeabe418ff5ec174e712fe8dedd434548a945b15a3 /src/main/java/ihl/handpump/XYZ.java
parent877312184c472d9845e5ef1008bc538f4634059f (diff)
fix missing source folder
Diffstat (limited to 'src/main/java/ihl/handpump/XYZ.java')
-rw-r--r--src/main/java/ihl/handpump/XYZ.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/ihl/handpump/XYZ.java b/src/main/java/ihl/handpump/XYZ.java
new file mode 100644
index 0000000..9a2627e
--- /dev/null
+++ b/src/main/java/ihl/handpump/XYZ.java
@@ -0,0 +1,26 @@
+package ihl.handpump;
+
+public class XYZ {
+ public int x;
+ public int y;
+ public int z;
+
+ public XYZ(int x1,int y1,int z1)
+ {
+ this.x=x1;
+ this.y=y1;
+ this.z=z1;
+ }
+
+ @Override
+ public boolean equals(Object obj)
+ {
+ if(obj instanceof XYZ)
+ {
+ XYZ xyz2 = (XYZ) obj;
+ return (this.x==xyz2.x && this.y==xyz2.y && this.z==xyz2.z);
+ }
+ return false;
+ }
+
+}