Class ArrayUtils

java.lang.Object
io.servicetalk.concurrent.internal.ArrayUtils

@Deprecated public final class ArrayUtils extends Object
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 Details

    • indexOf

      public static <X> int indexOf(X l, X[] array)
      Deprecated.
      Find the index of l in array.
      Type Parameters:
      X - The type of object.
      Parameters:
      l - The element to find.
      array - The array to search in.
      Returns:
      The index of l in array, or <0.