public static void clearCached() { DynamicArray<String> keys = DynamicArray.create(); synchronized (cachedSet) { AddToLastAll.add(keys, cachedSet); cachedSet.clear(); } for (String k : keys) Cache.remove(k); }
private Polygon2D(Iterable<Point2D<T>> src) { AddToLastAll.add(points, src); }