Package com.xebisco.yield
Class ImmutableVector2D
java.lang.Object
com.xebisco.yield.Vector2D
com.xebisco.yield.ImmutableVector2D
- All Implemented Interfaces:
Serializable
ImmutableVector2D class extends Vector2D and provides an immutable version of the Vector2D class.
It does not allow modification of its x and y coordinates after initialization.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.xebisco.yield.Vector2D
absolute, absoluteLocal, angle, divide, divide, divideLocal, divideLocal, height, intensity, invert, invertLocal, multiply, multiply, multiplyLocal, multiplyLocal, reset, set, set, subtract, subtractLocal, sum, sumLocal, toString, vector2D, width, x, y
-
Constructor Details
-
ImmutableVector2D
public ImmutableVector2D(double x, double y)
-
-
Method Details