summaryrefslogtreecommitdiff
path: root/main/java/ihl/handpump/XYZ.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:50:56 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:50:56 +0300
commit877312184c472d9845e5ef1008bc538f4634059f (patch)
tree4e098cc94296cc11f3b87e8ef64c3c568b6aeb51 /main/java/ihl/handpump/XYZ.java
parent939d2ea16679ce64d98b98c716b85f851aa576e2 (diff)
fix missing source folder
Diffstat (limited to 'main/java/ihl/handpump/XYZ.java')
-rw-r--r--main/java/ihl/handpump/XYZ.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/java/ihl/handpump/XYZ.java b/main/java/ihl/handpump/XYZ.java
new file mode 100644
index 0000000..9a2627e
--- /dev/null
+++ b/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;
+ }
+
+}