com.bristle.javalib.util
Class ArrUtil

java.lang.Object
  extended by com.bristle.javalib.util.ArrUtil

public class ArrUtil
extends Object

This class contains utility routines for manipulating Java arrays.

Usage:
   - The typical scenario for using this class is:
       String str1 = ArrUtil.arrayToString(arr1);

   - See the source code of the inner Tester class for more examples.
  
Assumptions:
Effects:
       - None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
Revision History:
   $Log$


Nested Class Summary
static class ArrUtil.Tester
          Each class contains a Tester inner class with a main() for easier unit testing.
 
Constructor Summary
ArrUtil()
           
 
Method Summary
static String arrayToString(Object[] arr)
          Return a string version of the array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrUtil

public ArrUtil()
Method Detail

arrayToString

public static String arrayToString(Object[] arr)
Return a string version of the array.

Parameters:
arr - Array to convert to a String.
Returns:
String version of the array, or null if array was null.