예제 #1
0
 @Override
 public boolean apply(@Nullable RoadUser input) {
   return Point.distance(model.getPosition(verifyNotNull(input)), position) < radius;
 }
예제 #2
0
 @Override
 @Nullable
 public Point apply(@Nullable T input) {
   return rm.getPosition(verifyNotNull(input));
 }