f8c9e244a3
bufferedreader: read a file line by line module (BufferedReader vs Scanner vs Files.lines vs readAllLines on a 1 GB file; heap at -Xmx64m, timings, read-call counts, one-huge-line OOM, charset/BOM/line-terminator pitfalls, Scanner swallowing IOException), 10 contract tests
main
Claude2026-11-15 01:20:37 +05:30
5faa57bb2d
datetimeformatter: DateTimeFormatter cheat sheet module (pattern letters incl. the four hour letters, yyyy vs YYYY week-year bug and WeekFields, en_IN locales and the U+202F AM/PM trap with parseLenient fix, SMART/STRICT/LENIENT parsing, ISO constants, SimpleDateFormat thread safety), 18 contract tests
Claude2026-11-14 01:22:11 +05:30
c8588ae520
copying: fold in graph copying (shared nodes, cycles, identity-map fix), serialization rules (constructors, record canonical constructor, ObjectInputFilter), record array components, clone() as a defensive copy, two more compile-error exhibits; 24 tests
asmhatreandClaude Sonnet 5.52026-11-12 20:29:58 +05:30
dfd3a830cd
sorting: Comparable vs Comparator from first principles, comparing/thenComparing/nullsFirst chaining, records as sort keys (and the record/equals compareTo trap), and a real reproduction of the int-subtraction-overflow comparator bug
Claude2026-10-01 16:19:14 +00:00
8eb601aa0e
cow: fix stale output/06 reference in WriteThroughputBenchmark comment after output file renumbering
Claude2026-10-01 12:20:08 +00:00
6520e7aabd
cow: add committed javap evidence for the internal lock field, renumber the preserved race-condition output to make room for it
Claude2026-10-01 12:19:08 +00:00
434054f246
cow: CopyOnWriteArrayList - deterministic iterator-snapshot and synchronizedList CME demos, JMH read/write throughput, and the addLast/removeFirst fix for a real concurrent-writer race
Claude2026-10-01 12:09:44 +00:00
2eaa464bad
immutable: List.of vs unmodifiableList vs copyOf - null handling, views vs copies, JMH wrap/copy overhead, a Guava comparison, and the record defensive-copy trap
asmhatre2026-10-01 11:32:13 +00:00
64de44fa65
sequenced: JEP 431 Sequenced Collections across List/Deque/LinkedHashSet/LinkedHashMap/TreeMap, and the getLast() replacement for the Set find-last stream tricks
Claude2026-10-01 04:39:39 +00:00
9059df4ad2
list-benchmarks: ArrayList vs LinkedList JMH benchmarks (add/get/iterate/remove) and when ArrayDeque fits instead of either
Claude2026-10-01 04:30:17 +00:00