edu.ucla.util
Class ObjArrays

Object
  extended by ObjArrays

public class ObjArrays
extends Object

A class consisting of static utility functions dealing with Object arrays.


Constructor Summary
ObjArrays()
           
 
Method Summary
static String convertToString(Object[] values)
           
static void print(Object[] values, PrintStream stream)
          displays the object array on System.stream
static void println(Object[] values, PrintStream stream)
          displays the object array on System.stream
static void shuffle(Object[] values)
          Will shuffle the values in the object array.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjArrays

public ObjArrays()
Method Detail

convertToString

public static String convertToString(Object[] values)

print

public static void print(Object[] values,
                         PrintStream stream)
displays the object array on System.stream


println

public static void println(Object[] values,
                           PrintStream stream)
displays the object array on System.stream


shuffle

public static void shuffle(Object[] values)
Will shuffle the values in the object array. See Collections.shuffle for a description of the algorithm.



Copyright 2010 UCLA Automated Reasoning Group