[java] bad operand types for binary operator "&" java