コード例 #1
0
 private boolean wasRemoved(MCollection partition) {
   return removed != null && (removed.contains(partition.getCollectionName()));
 }
コード例 #2
0
 public void removePartition(MCollection partition) {
   if (removed == null) removed = new ArrayList<>();
   removed.add(partition.getCollectionName());
 }