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> intindexOf(X l, X[] array) Deprecated.Find the index oflinarray.
-
Method Details
-
indexOf
public static <X> int indexOf(X l, X[] array) Deprecated.Find the index oflinarray.- Type Parameters:
X- The type of object.- Parameters:
l- The element to find.array- The array to search in.- Returns:
- The index of
linarray, or<0.
-