ArrayUtils Class Reference

List of all members.

Static Public Member Functions

static< T > List< T > convertArrayToList (T[] arrayOfObjects)
static void printArray (double[] array)
static void printArray (Object[] array)
 Prints an array of Objects to console.
static void printMatrix (Object[][] matrix)
 Displays a matrix of Objects.
static String toString (int[] array)
static String toString (Object[] array)

Detailed Description

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 15 of file ArrayUtils.java.


Member Function Documentation

static <T> List<T> convertArrayToList ( T[]  arrayOfObjects  )  [static]

Parameters:
<T> type of the objects...
arrayOfObjects the array we want to convert into the List<T>
Returns:
an arraylist of <T>s

Definition at line 24 of file ArrayUtils.java.

static void printArray ( Object[]  array  )  [static]

Prints an array of Objects to console.

Parameters:
array 

Definition at line 49 of file ArrayUtils.java.

static void printArray ( double[]  array  )  [static]

Parameters:
array 

Definition at line 33 of file ArrayUtils.java.

static void printMatrix ( Object  matrix[][]  )  [static]

Displays a matrix of Objects.

Parameters:
matrix 

Definition at line 67 of file ArrayUtils.java.

static String toString ( Object[]  array  )  [static]

Parameters:
array 
Returns:

Definition at line 105 of file ArrayUtils.java.

static String toString ( int[]  array  )  [static]

Parameters:
array turns an array of ints into a String

Definition at line 88 of file ArrayUtils.java.


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:45 2007 for R3 Paper Toolkit by  doxygen 1.4.7