Checks if either operand is a Long, Integer, Character, Short, or Byte. @param obj0 the first operand @param obj1 the second operand @return true if either operand is a Long-compatible type
(final Object obj0, final Object obj1)
| 727 | * @return true if either operand is a Long-compatible type |
| 728 | */ |
| 729 | public static boolean isLongOp(final Object obj0, final Object obj1) { |
| 730 | return (obj0 instanceof Long || obj1 instanceof Long || obj0 instanceof Integer || obj1 instanceof Integer || |
| 731 | obj0 instanceof Character || obj1 instanceof Character || obj0 instanceof Short || |
| 732 | obj1 instanceof Short || obj0 instanceof Byte || obj1 instanceof Byte); |
| 733 | } |
| 734 | |
| 735 | /** |
| 736 | * Checks if a string represents a floating-point number by looking for 'E', 'e', or '.' characters. |