public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsAny(java.util.Collection coll1,
java.util.Collection coll2)
Returns
true iff at least one element is in both collections. |
static boolean |
isBinary(int jdbcType) |
static boolean |
isPrecisionRequired(int jdbcType) |
static boolean |
isScaleRequired(int type) |
public static boolean containsAny(java.util.Collection coll1,
java.util.Collection coll2)
true iff at least one element is in both collections.
In other words, this method returns true iff the
#intersection of coll1 and coll2 is not empty.
coll1 - the first collection, must not be nullcoll2 - the first collection, must not be nulltrue iff the intersection of the collections is non-emptypublic static boolean isPrecisionRequired(int jdbcType)
public static boolean isScaleRequired(int type)
public static boolean isBinary(int jdbcType)