public class UtilityClass
extends java.lang.Object
Constructor and Description |
---|
UtilityClass() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Dimension |
getQuarterOfScreen()
This method determines the dimensions of the screen that is being used by
the VM and returns a dimension that is half the width and half the
height.
|
static int[] |
getRandomlyGeneratedArray()
This method generates an array.
|
static int |
getRandomValue(int min,
int max)
This method generates a random integer value from the interval [min,
max].
|
static java.lang.String |
getTimestamp()
This method returns a string that captures the timestamp at the moment of
invocation, representing in the format as follows (example given):
Wed-Feb-11 15:31:01:225
|
public static int[] getRandomlyGeneratedArray()
public static int getRandomValue(int min, int max)
public static java.lang.String getTimestamp()
public static java.awt.Dimension getQuarterOfScreen()