@Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;

        Position position = (Position) o;
        return Objects.equal(position.getX(), this.getX()) && Objects.equal(position.getY(), this.getY()) && Objects.equal(position.getZ(), this.getZ());
    }