intarsys runtime library

de.intarsys.tools.collection
Class ArrayTools

java.lang.Object
  extended by de.intarsys.tools.collection.ArrayTools

public class ArrayTools
extends Object


Method Summary
static Object createFromList(Class objectClass, List list)
           
static void reverse(byte[] array)
           
static void reverse(byte[] array, int index, int length)
           
static
<T> void
reverse(T[] array)
           
static
<T> void
reverse(T[] array, int index, int length)
           
static Object toArray(Class clazz, Collection collection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFromList

public static Object createFromList(Class objectClass,
                                    List list)

reverse

public static void reverse(byte[] array)

reverse

public static void reverse(byte[] array,
                           int index,
                           int length)

reverse

public static <T> void reverse(T[] array)

reverse

public static <T> void reverse(T[] array,
                               int index,
                               int length)

toArray

public static Object toArray(Class clazz,
                             Collection collection)

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.