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 String
stringValueOfObjectOrArray(Object o)
Returns string value of an array or an object.static Object[]
toArray(Object o)
Accepts and object and return an array ofObject
when the object is an array.
-
-
-
Method Detail
-
toArray
public static Object[] toArray(Object o)
Accepts and object and return an array ofObject
when the object is an array.null
is returned otherwise- Parameters:
o
- is an object whisch is supposed to be an array- Returns:
- an array of
Object
when given object is an array.null
is returned otherwise
-
-