unmarshal static method

Coordinate unmarshal(
  1. MarshalledObject marshalled
)

Encoded object parameter is encoded depending on format.

Implementation

static Coordinate unmarshal(MarshalledObject marshalled)
{
  double x = marshalled.getRequired("x").asDouble();
  double y = marshalled.getRequired("y").asDouble();
  return new Coordinate(x, y);
}