1. In Java, can I use a primitive type literal or type variable in an instanceof expression? stackoverflow.com
Can I use a primitive type literal or type variable in an
2. What is the best way to verify multiple instanceof's with primitive types (eg: switch case)? stackoverflow.com
I've searched for answers here and every thread I found were in fact "fragments" of what I seek. I'd like to find a better way than this : ~ EDIT: OOPS ! ...