Modifier and Type | Method and Description |
---|---|
static boolean |
contains(int[] data,
int value)
Search for the existence of an int value in a given int array.
|
public static boolean contains(int[] data, int value)
data
- the int data to search intovalue
- the value to searchCopyright © 2020 Eclipse Foundation. All rights reserved.