public static function asType($type, array $data)
    {
        $converter = new TypeStringListConverter($type);
        $converter->setArraySource($data);
        return new static($converter);
    }
public static function asType($type, array $data)
    {
        $converter = new TypeStringListConverter($type);
        $converter->setArraySource($data);
        return new static($converter);
    }
public static function asType ( $ type , array $ data ) { $ converter = new TypeStringListConverter ( $ type ) ; $ converter -> setArraySource ( $ data ) ; return new static ( $ converter ) ; }
Create arraylist of class
@param string $type
@param mixed[] $data
@return \PerrysLambda\ArrayList
Create arraylist of class