Class ToArrayUtil
- java.lang.Object
-
- ru.tinkoff.qa.neptune.core.api.utils.ToArrayUtil
-
public final class ToArrayUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringstringValueOfObjectOrArray(Object o)Returns string value of an array or an object.static Object[]toArray(Object o)Accepts and object and return an array ofObjectwhen the object is an array.
-
-
-
Method Detail
-
toArray
public static Object[] toArray(Object o)
Accepts and object and return an array ofObjectwhen the object is an array.nullis returned otherwise- Parameters:
o- is an object whisch is supposed to be an array- Returns:
- an array of
Objectwhen given object is an array.nullis returned otherwise
-
-