getCachedCoords method

List<Coordinate>? getCachedCoords()

Implementation

List<Coordinate>? getCachedCoords() {
  if (coordRef != null) {
    List<Coordinate>? coords = coordRef;
    if (coords != null) {
      return coords;
    } else {
      // System.out.print("-");
      coordRef = null;
      return null;
    }
  } else {
    // System.out.print("-");
    return null;
  }
}