2 ms·
I'm not a Java person, but my understanding is that in Java everything is boxed anyway, so the implementation of the "generic" logic is always just dealing with
by mikepurvis 10mo ago
I'm not a Java person, but my understanding is that in Java everything is boxed anyway, so the implementation of the "generic" logic is always just dealing with a pointer-sized entity and it's a matter of whether the dereferenced object on the other end of that has the required fields/methods.
- renox 10mo ago> Java everything is boxed anyway Not true, there's int and Integer.
- mikepurvis 10mo agoRight but you can’t use them as type arguments to Java’s generics so they’re not really relevant in this context.