org.kuali.rice.kns.web.struts.pojo
Class ArrayUtils

java.lang.Object
  extended by org.kuali.rice.kns.web.struts.pojo.ArrayUtils

public class ArrayUtils
extends Object

begin Kuali Foundation modification This class sets the value of an element of an array of primitives at the supplied index. end Kuali Foundation modification

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ArrayUtils()
           
 
Method Summary
static void setArrayValue(Object array, Class type, Object value, int index)
          Sets the value of an element of an array of primitives at the supplied index.
static Object toObject(Object value)
           
static Object toString(Object array, Class type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtils

public ArrayUtils()
Method Detail

setArrayValue

public static void setArrayValue(Object array,
                                 Class type,
                                 Object value,
                                 int index)
Sets the value of an element of an array of primitives at the supplied index.

Parameters:
array - An array.
type - The component type of the array.
index - An array index.

toObject

public static Object toObject(Object value)

toString

public static Object toString(Object array,
                              Class type)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.