mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
Added toString
The default toString method resolves the address of the Memory, this is more useful.
This commit is contained in:
parent
6fc93cfeff
commit
22b7cf1d05
@ -34,4 +34,9 @@ public class HPoint {
|
||||
HPoint p = (HPoint) o;
|
||||
return this.x == p.getX() && this.y == p.getY() && this.z == p.getZ();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "(" + this.getX() + "," + this.getY() + "," + this.getZ() + ")";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user