Class Misc.Ints
java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.Misc.Ints
- Enclosing class:
- Misc
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
contains
(int[] data, int value) Search for the existence of an int value in a given int array.
-
Method Details
-
contains
public static boolean contains(int[] data, int value) Search for the existence of an int value in a given int array.- Parameters:
data
- the int data to search intovalue
- the value to search- Returns:
- true if the data array contains at least once the expected value, false otherwise
-