com.greenpepper.converter.PrimitiveDoubleArrayConverter Maven / Gradle / Ivy
package com.greenpepper.converter;
import java.util.ArrayList;
import java.util.List;
import com.greenpepper.TypeConversion;
import com.greenpepper.util.CollectionUtil;
import com.greenpepper.util.StringUtil;
/**
* PrimitiveDoubleArrayConverter class.
*
* @author oaouattara
* @version $Id: $Id
*/
public class PrimitiveDoubleArrayConverter extends AbstractPrimitiveArrayConverter
{
/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
public Object parse( String value, Class type )
{
String text = removeSquareBrackets( value );
List