double length() { final double x = this.x; final double y = this.y; return math.sqrt(x * x + y * y); }