org.axiondb.util
Class Utils
java.lang.Object
org.axiondb.util.Utils
public class Utils
- extends Object
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
containsAny
public static boolean containsAny(Collection coll1,
Collection coll2)
- Returns
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.
- Parameters:
coll1 - the first collection, must not be nullcoll2 - the first collection, must not be null
- Returns:
true iff the intersection of the collections is non-empty
isPrecisionRequired
public static boolean isPrecisionRequired(int jdbcType)
isScaleRequired
public static boolean isScaleRequired(int type)
isBinary
public static boolean isBinary(int jdbcType)