Beispiel #1
0
 /**
  * Returns the {@link Shape} as a list of usually {@link Double} or {@link List}s of {@link
  * Double}s. Wildcard bound to allow implementations to return a more concrete element type.
  *
  * @return
  */
 public List<? extends Object> asList() {
   return Arrays.asList(Arrays.asList(center.getX(), center.getY()), this.radius.getValue());
 }
 public MarkerData(Point position, String icon) {
   x = (int) position.getX();
   y = (int) position.getY();
   this.icon = icon;
 }