org.cdlib.xtf.util
Class ArrayUtil

Object
  extended by ArrayUtil

public class ArrayUtil
extends Object

Various handy functions for working with arrays.

Author:
Martin Haye

Constructor Summary
ArrayUtil()
           
 
Method Summary
static float[] expand(float[] in)
           
static int[] expand(int[] in)
           
static long[] expand(long[] in)
           
static String[] expand(String[] in)
           
static float[] resize(float[] in, int newSize)
           
static int[] resize(int[] in, int newSize)
           
static long[] resize(long[] in, int newSize)
           
static String[] resize(String[] in, int newSize)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtil

public ArrayUtil()
Method Detail

resize

public static int[] resize(int[] in,
                           int newSize)

expand

public static int[] expand(int[] in)

resize

public static long[] resize(long[] in,
                            int newSize)

expand

public static long[] expand(long[] in)

resize

public static float[] resize(float[] in,
                             int newSize)

expand

public static float[] expand(float[] in)

resize

public static String[] resize(String[] in,
                              int newSize)

expand

public static String[] expand(String[] in)