Interface PVector2IType<T>
- Type Parameters:
T
- A phantom type parameter
- All Superinterfaces:
PVectorReadable2IType<T>
,VectorComputationalType
,VectorReadable2IType
- All Known Implementing Classes:
PVector2I
@Immutable public interface PVector2IType<T> extends PVectorReadable2IType<T>, VectorComputationalType
The type of 2D
int
-typed vectors.-
Method Details
-
x
@Parameter(order=0) int x()- Specified by:
x
in interfaceVectorReadable2IType
- Returns:
- The
x
component
-
y
@Parameter(order=1) int y()- Specified by:
y
in interfaceVectorReadable2IType
- Returns:
- The
y
component
-