javazoom.jlgui.player.amp.util.ini

Class Array


public class Array
extends java.lang.Object

This class represents an array of objects.
Version:
1.0.0
Author:
Jeremy Cloud

Method Summary

static Object[]
copy(Object[] sors, Object[] dest)
static String[]
doubleArray(String[] sors)
static int[]
doubleArray(int[] sors)
static Object[]
grow(Object[] sors, double growth_rate)
static String[]
grow(String[] sors, double growth_rate)
static boolean[]
grow(boolean[] sors, double growth_rate)
static int[]
grow(int[] sors, double growth_rate)
static void
shift(Object[] array, int start, int amount)
static void
shiftDown(Object[] array, int start, int end)
static void
shiftUp(Object[] array, int start, int end)

Method Details

copy

public static Object[] copy(Object[] sors,
                            Object[] dest)

doubleArray

public static String[] doubleArray(String[] sors)

doubleArray

public static int[] doubleArray(int[] sors)

grow

public static Object[] grow(Object[] sors,
                            double growth_rate)

grow

public static String[] grow(String[] sors,
                            double growth_rate)

grow

public static boolean[] grow(boolean[] sors,
                             double growth_rate)

grow

public static int[] grow(int[] sors,
                         double growth_rate)

shift

public static void shift(Object[] array,
                         int start,
                         int amount)

shiftDown

public static void shiftDown(Object[] array,
                             int start,
                             int end)
Parameters:
start - - inclusive
end - - exclusive

shiftUp

public static void shiftUp(Object[] array,
                           int start,
                           int end)
Parameters:
start - - inclusive
end - - exclusive

JavaZOOM 1999-2006