static Set similarEmptySet(Iterable m) { if (m instanceof TreeSet) ret new TreeSet(((TreeSet) m).comparator()); if (m instanceof LinkedHashSet) ret new LinkedHashSet; ret new HashSet; } static Set similarEmptySet(Map m) { if (m instanceof TreeMap) ret new TreeSet(((TreeMap) m).comparator()); if (m instanceof LinkedHashMap) ret new LinkedHashSet; ret new HashSet; }
Began life as a copy of #1004367
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment