Class ArrayUtils
java.lang.Object
io.servicetalk.concurrent.internal.ArrayUtils
Deprecated.
This internal class will be removed in the future releases without a replacement. If you depend on it,
consider copying into your codebase.
Utilities for arrays.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <X> int
indexOf
(X l, X[] array) Deprecated.Find the index ofl
inarray
.
-
Method Details
-
indexOf
public static <X> int indexOf(X l, X[] array) Deprecated.Find the index ofl
inarray
.- Type Parameters:
X
- The type of object.- Parameters:
l
- The element to find.array
- The array to search in.- Returns:
- The index of
l
inarray
, or<0
.
-