Post

Java Code Daily
Java Code Daily@JavaCodeDaily·
An study of ~11k GitHub projects that looks at the popularity of classes in the Java Collections Framework. ▫️47% ArrayList ▫️21% HashMap ▫️10% HashSet ▫️5% LinkedList ▫️17% Everything else I thought TreeMap would be higher since it’s pretty useful. bit.ly/3E6CSZy
Java Code Daily tweet media
English
6
56
246
0
逐枭
逐枭@MesaKhora·
@JavaCodeDaily In most scenarios, an ordered dictionary is unnecessary
English
0
0
1
0
Tom Anderson
Tom Anderson@tomwhoscontrary·
@JavaCodeDaily @RichardWarburto I use TreeMap and TreeSet constantly, and their second-class status in the JDK really shows. No SortedSet::of, no Collectors::toSortedSet, no way to make a TreeSet with a comparator and elements in a single expression, etc.
English
0
0
0
0
Paylaş