com.greenpepper.converter.PrimitiveLongArrayConverter Maven / Gradle / Ivy
The newest version!
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;
/**
* PrimitiveLongArrayConverter class.
*
* @author oaouattara
* @version $Id: $Id
*/
public class PrimitiveLongArrayConverter extends AbstractPrimitiveArrayConverter
{
/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
public Object parse( String value, Class type )
{
String text = removeSquareBrackets( value );
List