/** */ public boolean isBigDecimalType(Object type) { return type == getBigDecimalType(); }
/** */ public boolean isBigIntegerType(Object type) { return type == getBigIntegerType(); }
/** * Returns true if type is the boolean primitive type or the Boolean wrapper class */ public boolean isBooleanType(Object type) { return (type == getBooleanType()) || (type == getBooleanClassType()); }
/** * Returns true if type is the char primitive type or the Character wrapper class */ public boolean isCharacterType(Object type) { return (type == getCharType()) || (type == getCharacterClassType()); }
/** * Returns true if type is the byte primitive type or the Byte wrapper class */ public boolean isByteType(Object type) { return (type == getByteType()) || (type == getByteClassType()); }
!isNumericType(left) || !isNumericType(right)) { return null; if (isBigDecimalType(left) || isBigDecimalType(right)) { return getBigDecimalType(); if (isBigIntegerType(left)) { return isFloatingPointType(right) ? right : getBigIntegerType(); if (isBigIntegerType(right)) { return isFloatingPointType(left) ? left : getBigIntegerType(); if (isWrapperClass(left)) { wrapper = true; left = getPrimitiveType(left); if (isWrapperClass(right)) { wrapper = true; right = getPrimitiveType(right); Object promoted = binaryNumericPromotion(left, right); if (wrapper && promoted != null) { promoted = getWrapperClass(promoted);
/** * Returns true if type is the double primitive type or the Double wrapper class */ public boolean isDoubleType(Object type) { return (type == getDoubleType()) || (type == getDoubleClassType()); }
!isNumericType(left) || !isNumericType(right)) { return null; if (isBigDecimalType(left) || isBigDecimalType(right)) { return getBigDecimalType(); if (isBigIntegerType(left)) { return isFloatingPointType(right) ? right : getBigIntegerType(); if (isBigIntegerType(right)) { return isFloatingPointType(left) ? left : getBigIntegerType(); if (isWrapperClass(left)) { wrapper = true; left = getPrimitiveType(left); if (isWrapperClass(right)) { wrapper = true; right = getPrimitiveType(right); Object promoted = binaryNumericPromotion(left, right); if (wrapper && promoted != null) { promoted = getWrapperClass(promoted);
/** * Returns true if type is the char primitive type or the Character wrapper class */ public boolean isCharacterType(Object type) { return (type == getCharType()) || (type == getCharacterClassType()); }
/** * Returns true if type is the byte primitive type or the Byte wrapper class */ public boolean isByteType(Object type) { return (type == getByteType()) || (type == getByteClassType()); }
/** * Returns true if type is the double primitive type or the Double wrapper class */ public boolean isDoubleType(Object type) { return (type == getDoubleType()) || (type == getDoubleClassType()); }
!isNumericType(left) || !isNumericType(right)) { return null; if (isBigDecimalType(left) || isBigDecimalType(right)) { return getBigDecimalType(); if (isBigIntegerType(left)) { return isFloatingPointType(right) ? right : getBigIntegerType(); if (isBigIntegerType(right)) { return isFloatingPointType(left) ? left : getBigIntegerType(); if (isWrapperClass(left)) { wrapper = true; left = getPrimitiveType(left); if (isWrapperClass(right)) { wrapper = true; right = getPrimitiveType(right); Object promoted = binaryNumericPromotion(left, right); if (wrapper && promoted != null) { promoted = getWrapperClass(promoted);
/** * Returns true if type is the char primitive type or the Character wrapper class */ public boolean isCharacterType(Object type) { return (type == getCharType()) || (type == getCharacterClassType()); }
/** * Returns true if type is the boolean primitive type or the Boolean wrapper class */ public boolean isBooleanType(Object type) { return (type == getBooleanType()) || (type == getBooleanClassType()); }
/** * Returns true if type is the byte primitive type or the Byte wrapper class */ public boolean isByteType(Object type) { return (type == getByteType()) || (type == getByteClassType()); }
/** * Returns true if type is the double primitive type or the Double wrapper class */ public boolean isDoubleType(Object type) { return (type == getDoubleType()) || (type == getDoubleClassType()); }
/** */ public boolean isBigIntegerType(Object type) { return type == getBigIntegerType(); }
/** */ public boolean isBigDecimalType(Object type) { return type == getBigDecimalType(); }
/** * Returns true if type is the boolean primitive type or the Boolean wrapper class */ public boolean isBooleanType(Object type) { return (type == getBooleanType()) || (type == getBooleanClassType()); }
/** */ public boolean isBigIntegerType(Object type) { return type == getBigIntegerType(); }