2021222324252627282930
Iterator<Entry> it = map.values().iterator(); while (it.hasNext()) { Vclock existing = it.next().vclock; Occured occured = VclockUtils.compare(existing, vclock); switch (occured) { case AFTER: it.remove(); break; case BEFORE: