static <A, B> Set<Map.Entry<A,B>> _entrySet(Map<A, B> map) {
  ret map == null ? Collections.EMPTY_SET : map.entrySet();
}