Checks if either operand is a Double or Float. @param obj0 the first operand @param obj1 the second operand @return true if either operand is a Double or Float
(final Object obj0, final Object obj1)
| 715 | * @return true if either operand is a Double or Float |
| 716 | */ |
| 717 | public static boolean isDoubleOp(final Object obj0, final Object obj1) { |
| 718 | return (obj0 instanceof Double || obj1 instanceof Double || obj0 instanceof Float || obj1 instanceof Float); |
| 719 | } |
| 720 | |
| 721 | /** |
| 722 | * Checks if either operand is a Long, Integer, Character, Short, or Byte. |