@Test public void simplify_neverReturnsNullButRatherAnEmptyList() throws Exception { List<Point> simplifiedPath = simplify(new ArrayList<Point>(), PRECISION_6); assertNotNull(simplifiedPath); }
@NonNull public static List<Point> simplify(@NonNull List<Point> points) { return simplify(points, SIMPLIFY_DEFAULT_TOLERANCE, SIMPLIFY_DEFAULT_HIGHEST_QUALITY); }
PolylineUtils { @NonNull public static List<Point> simplify(@NonNull List<Point> points) { return simplify(points, SIMPLIFY_DEFAULT_TOLERANCE, SIMPLIFY_DEFAULT_HIGHEST_QUALITY); } }
PolylineUtils { @NonNull public static List<Point> simplify(@NonNull List<Point> points) { return simplify(points, SIMPLIFY_DEFAULT_TOLERANCE, SIMPLIFY_DEFAULT_HIGHEST_QUALITY); } private  PolylineUtils(); }
PolylineUtils { @NonNull public static List<Point> simplify(@NonNull List<Point> points) { return simplify(points, SIMPLIFY_DEFAULT_TOLERANCE, SIMPLIFY_DEFAULT_HIGHEST_QUALITY); } private  PolylineUtils(); @NonNull static List<Point> decode(@NonNull final String encodedPath, int precision); @NonNull static String encode(@NonNull final List<Point> path, int precision); @NonNull static List<Point> simplify(@NonNull List<Point> points); @NonNull static List<Point> simplify(@NonNull List<Point> points, double tolerance); @NonNull static List<Point> simplify(@NonNull List<Point> points, boolean highestQuality); @NonNull static List<Point> simplify(@NonNull List<Point> points, double tolerance,
                                     boolean highestQuality); }
PolylineUtils { @NonNull public static List<Point> simplify(@NonNull List<Point> points) { return simplify(points, SIMPLIFY_DEFAULT_TOLERANCE, SIMPLIFY_DEFAULT_HIGHEST_QUALITY); } private  PolylineUtils(); @NonNull static List<Point> decode(@NonNull final String encodedPath, int precision); @NonNull static String encode(@NonNull final List<Point> path, int precision); @NonNull static List<Point> simplify(@NonNull List<Point> points); @NonNull static List<Point> simplify(@NonNull List<Point> points, double tolerance); @NonNull static List<Point> simplify(@NonNull List<Point> points, boolean highestQuality); @NonNull static List<Point> simplify(@NonNull List<Point> points, double tolerance,
                                     boolean highestQuality);  }