public class Utils
extends java.lang.Object
| Constructor and Description | 
|---|
Utils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
isBinary(PrimitiveCategory pc)
Return true if the primitive type is a binary, false otherwise. 
 | 
static boolean | 
isBoolean(PrimitiveCategory pc)
Return true if the primitive type is a boolean, false otherwise. 
 | 
static boolean | 
isInt(PrimitiveCategory pc)
Return true if the primitive type is an int, false otherwise. 
 | 
static boolean | 
isJsonString(java.lang.String toValidate)
Return true if the string is a JSON string, false otherwise. 
 | 
static boolean | 
isNumber(PrimitiveCategory pc)
Return true if the primitive type is a number, false otherwise. 
 | 
static boolean | 
isString(PrimitiveCategory pc)
Return true if the primitive type is a string, false otherwise. 
 | 
static boolean | 
sameSRIDAndDim(JGeometry geom1, JGeometry geom2)
Return true if the geometries have the same SRID, false otherwise. 
 | 
public static boolean isBinary(PrimitiveCategory pc)
pc - the primitive typepublic static boolean isBoolean(PrimitiveCategory pc)
pc - the primitive typepublic static boolean isInt(PrimitiveCategory pc)
pc - the primitive typepublic static boolean isJsonString(java.lang.String toValidate)
toValidate - the string to validatepublic static boolean isNumber(PrimitiveCategory pc)
pc - the primitive typepublic static boolean isString(PrimitiveCategory pc)
pc - the primitive type
public static boolean sameSRIDAndDim(JGeometry geom1,
                                     JGeometry geom2)
geom1 - first geometrygeom2 - second geometryCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.