How do I convert a Set[Field] to an Array[Field] in scala?
I am doing some operations using Reflections, between I got to convert a Set[Field] to Array[Field] and I tried .toArray but getting Array[AnyRef] instead of Array[Field].
Can anyone help me out in converting Set to Array?
Aucun commentaire:
Enregistrer un commentaire