Class GenericPositionSurrogate
-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.graphql.schema.model.surrogates.PositionSurrogate
public final class GenericPositionSurrogate implements PositionSurrogate
An implementation of PositionSurrogate for a generic Position object.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Double>
coordinates
private final Integer
dimensions
-
Constructor Summary
Constructors Constructor Description GenericPositionSurrogate(List<Double> coordinates, Integer dimensions)
-
Method Summary
Modifier and Type Method Description List<Double>
getCoordinates()
The coordinates of the position. Integer
getDimensions()
The dimension of the position. -
-
Method Detail
-
getCoordinates
List<Double> getCoordinates()
The coordinates of the position.
-
getDimensions
Integer getDimensions()
The dimension of the position.
-
-
-
-