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

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -