Примитивы равенства Java
Primitive | Wrapper | Superclass
-----------|---------|------------
boolean | Boolean | Object
byte | Byte | Number
char | Char | Object
short | Short | Number
int | Int | Number
long | Long | Number
float | Float | Number
double | Double | Number
Outrageous Ostrich