src/main/java/com/mxgraph/io/mxObjectCodec.java
protected boolean isPrimitiveValue(Object value)
	{
		return value instanceof String || value instanceof Boolean
				|| value instanceof Character || value instanceof Byte
				|| value instanceof Short || value instanceof Integer
				|| value instanceof Long || value instanceof Float
				|| value instanceof Double || value.getClass().isPrimitive();
	}
/**
	 * Returns true if the given object is a primitive value.
	 * 
	 * @param value Object that should be checked.
	 * @return Returns true if the given object is a primitive value.
	 */
Returns true if the given object is a primitive value.

@param value Object that should be checked.
@return Returns true if the given object is a primitive value.
Returns true if the given object is a primitive value . @param value Object that should be checked . @return Returns true if the given object is a primitive value .
protected boolean isPrimitiveValue(Object value)
	{
		return value instanceof String || value instanceof Boolean
				|| value instanceof Character || value instanceof Byte
				|| value instanceof Short || value instanceof Integer
				|| value instanceof Long || value instanceof Float
				|| value instanceof Double || value.getClass().isPrimitive();
	}
protected boolean isPrimitiveValue ( Object value ) { return value instanceof String || value instanceof Boolean || value instanceof Character || value instanceof Byte || value instanceof Short || value instanceof Integer || value instanceof Long || value instanceof Float || value instanceof Double || value . getClass ( ) . isPrimitive ( ) ; }
Returns true if the given object is a primitive value.
Returns true if the given object is a primitive value .