List Question
20 TechQA 2024-03-07T18:33:27.637000Why autoboxing does not work with Predicate
87 views
Asked by fastcodejava
How to detect auto-boxing and auto-unboxing in Kotlin?
84 views
Asked by Martin Häusler
Why BigDecimal.Zero exist in Java where as Double.zero doesn't
64 views
Asked by Raj Saraogi
ArrayStoreException at runtime in JAVA-8 Stream
73 views
Asked by Manojak
When autoboxing, does a primitve type array autobox to an array of the Wrapper class for the primitve type?
104 views
Asked by Pål Hart
Why autobox caching
27 views
Asked by Grey may
Does having a wrapper object return value (e.g. Integer) cause auto boxing in Java?
409 views
Asked by L. Blanc
Why exactly does a `Comparator` using a primitive `int` work in this code? If auto-boxing, at what point does that happen?
140 views
Asked by Basil Bourque
Comparing "long" and "Long"
6.4k views
Asked by nimo23
JLS violations via Number and custom types for switch selector expression
66 views
Asked by lineage
Can I generate warnings when we try to compare Java boxed primitives with "==" instead of ".equals"?
159 views
Asked by IcedDante
Why does .contains(1) return false when called on a HashSet<Long> that contains 1l?
437 views
Asked by maplemaple
How to count the number of boxing and unboxing operations
98 views
Asked by A1122
Comparing Integer and int with ==
2k views
Asked by Sanskar Dhingra
Why the code that the compiler approves but cannot be run by JVM?
299 views
Asked by Allen
how to get equality behavior with autoboxing comparing with Object and int as Java 7 with Java8
58 views
Asked by armnotstrong
Why Kotlin '===' reference equality operator returns false for same object references?
184 views
Asked by Kushal
Java LongCache returns wrong value
227 views
Asked by henryjin
Need an optimised Map(k,v) e.g. (long, long[]), to avoid auto boxing
259 views
Asked by gourab ghosh