ArrayUtils(androidJvm)

Utility class to covert array of primitive types to the List of Objects.

class ArrayUtils(androidJvm)

Functions

convert
Link copied to clipboard

Convert array of booleans to the list of Boolean objects

open fun convert(arr: Array<Boolean>): List<Boolean>

Convert array of bytes to the list of Byte objects

open fun convert(arr: Array<Byte>): List<Byte>

Convert array of chars to the list of Character objects

open fun convert(arr: Array<Char>): List<Character>

Convert array of doubles to the list of Double objects

open fun convert(arr: Array<Double>): List<Double>

Convert array of floats to the list of Float objects

open fun convert(arr: Array<Float>): List<Float>

Convert array of ints to the list of Integer objects

open fun convert(arr: Array<Int>): List<Integer>

Convert array of Objects to the list of Objects

open fun convert(arr: Array<Any>): List<Any>

Convert array of longs to the list of Long objects

open fun convert(arr: Array<Long>): List<Long>

Convert array of shorts to the list of Short objects

open fun convert(arr: Array<Short>): List<Short>
convertListToArray
Link copied to clipboard

Convert List of Objects to the array of Objects

open fun convertListToArray(ls: List<Any>): Array<Any>