public class DataStructure extends Object
Modifier and Type | Field and Description |
---|---|
static org.openqa.selenium.WebDriver |
driver
The driver.
|
Constructor and Description |
---|
DataStructure(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
static void |
displayArrayContent(int[] array)
Display array(Of type Int) content.
|
static void |
displayArrayContent(String[] array)
Display array(Of type String) content.
|
static boolean |
isInputEqualToArrayLastItem(int input,
int[] array)
Checks if Input item equals Array's last item.
|
static boolean |
isInputGreaterThanArrayItems(int input,
int[] array)
Checks if the Input item is greater than all Array items.
|
static boolean |
isInputLessThanArrayItems(int input,
int[] array)
Checls if Input item is less than all Array items.
|
public static boolean isInputGreaterThanArrayItems(int input, int[] array) throws Exception
input
- the inputarray
- the arrayException
- the exceptionpublic static boolean isInputEqualToArrayLastItem(int input, int[] array) throws Exception
input
- the inputarray
- the arrayException
- the exceptionpublic static boolean isInputLessThanArrayItems(int input, int[] array) throws Exception
input
- the inputarray
- the arrayException
- the exceptionpublic static void displayArrayContent(int[] array) throws Exception
array
- the array of type IntException
- the exception