Top Description Constructors Methods
org.apache.commons.math3.exception.util

public Class ArgUtils

extends Object
Class Inheritance
Imports
java.util.List, .ArrayList

Utility class for transforming the list of arguments passed to constructors of exceptions.

Constructor Summary

AccessConstructor and Description
private
ArgUtils()

Class contains only static methods.

Method Summary

Modifier and TypeMethod and Description
public static Object[]

Returns:

a list of all the Object instances contained in array.
flatten
(Object[]
Array (possibly multidimensional).
array
)

Transform a multidimensional array into a one-dimensional list.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ArgUtilsback to summary
private ArgUtils()

Class contains only static methods.

Method Detail

flattenback to summary
public static Object[] flatten(Object[] array)

Transform a multidimensional array into a one-dimensional list.

Parameters
array:Object[]

Array (possibly multidimensional).

Returns:Object[]

a list of all the Object instances contained in array.