code: @Override
    /*! #if ($TemplateOptions.KTypePrimitive) 
    public KType [] toArray()
        #else !*/
    public Object [] toArray()
    /*! #end !*/
    {
        final int size = size();
        return toArray(Intrinsics.<KType> newArray(size));
    }
docs: {@inheritDoc}