Class ArgUtils


  • public class ArgUtils
    extends java.lang.Object
    Utility class for transforming the list of arguments passed to constructors of exceptions.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ArgUtils()
      Class contains only static methods.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object[] flatten​(java.lang.Object[] array)
      Transform a multidimensional array into a one-dimensional list.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArgUtils

        private ArgUtils()
        Class contains only static methods.
    • Method Detail

      • flatten

        public static java.lang.Object[] flatten​(java.lang.Object[] array)
        Transform a multidimensional array into a one-dimensional list.
        Parameters:
        array - Array (possibly multidimensional).
        Returns:
        a list of all the Object instances contained in array.