com.tagtraum.perf.datastructures
Class Arrays

java.lang.Object
  |
  +--com.tagtraum.perf.datastructures.Arrays

public class Arrays
extends java.lang.Object

Utility methods for Arrays.

Version:
$Id: $
Author:
Hendrik Schreiber

Constructor Summary
Arrays()
           
 
Method Summary
static void shuffle(int[] array)
           
static void shuffle(java.lang.Object[] array)
           
static void swap(int[] arr, int i, int j)
           
static void swap(java.lang.Object[] arr, int i, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arrays

public Arrays()
Method Detail

shuffle

public static void shuffle(java.lang.Object[] array)

swap

public static void swap(java.lang.Object[] arr,
                        int i,
                        int j)

shuffle

public static void shuffle(int[] array)

swap

public static void swap(int[] arr,
                        int i,
                        int j)


Copyright © 2002 Hendrik Schreiber
http://www.tagtraum.com/performance/
This software can be distributed under LGPL