i am using the java version in scala would you mind telling me the import  I need
this is my code right now
 var array_data = data.toArray
 val constant_ = Constant(array_data)

the data is a list of Doubles
also  sorry for the noob question i just started using scala 2 weeks ago thank you immensely for your help