How can we convert an array of Object to List in Java? -


this question has answer here:

ex: object[] arrobject1 = new object[]{true, true, false, true, false}

object[] arrobject2 = new object[]{1, 2, 3, 4, 5}  

how can convert object[] list?

use list<object> list = arrays.aslist(array);


Comments

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -