public class Scramble
extends java.lang.Object
Constructor and Description |
---|
Scramble() |
Modifier and Type | Method and Description |
---|---|
static <T> void |
scramble(java.util.ArrayList<T> arrayList)
Scramble an array list
|
static void |
scramble(int[] integers)
Scramble an array of integers
|
static <T> void |
scramble(T[] objects)
Scramble an array
|
static <T> void |
scramble(java.util.Vector<T> vector)
Scramble a vector
|
static int[] |
scramble2(int[] integers)
Scramble an integer array
|
public static <T> void scramble(java.util.ArrayList<T> arrayList)
T
- Element typearrayList
- List to scramblepublic static void scramble(int[] integers)
integers
- Array to scramblepublic static <T> void scramble(T[] objects)
T
- Type of elementobjects
- Array to scramblepublic static <T> void scramble(java.util.Vector<T> vector)
T
- Element typevector
- Vector to scramblepublic static int[] scramble2(int[] integers)
integers
- Integer array