Пример #1
0
 public static void clearCached() {
   DynamicArray<String> keys = DynamicArray.create();
   synchronized (cachedSet) {
     AddToLastAll.add(keys, cachedSet);
     cachedSet.clear();
   }
   for (String k : keys) Cache.remove(k);
 }
Пример #2
0
 private Polygon2D(Iterable<Point2D<T>> src) {
   AddToLastAll.add(points, src);
 }