mardi 21 juillet 2015

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?

Scala Version = "2.11.7"





Aucun commentaire:

Enregistrer un commentaire