Interface ArrayAdapter<T,​A>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T get​(A array, int off)
      Get the off'th item from the array.
      int size​(A array)
      Get the size of the array.
    • Method Detail

      • size

        int size​(A array)
        Get the size of the array.
        Parameters:
        array - Array-like thing
        Returns:
        Size
      • get

        T get​(A array,
              int off)
        Get the off'th item from the array.
        Parameters:
        array - Array to get from
        off - Offset
        Returns:
        Item at offset off
        Throws:
        java.lang.IndexOutOfBoundsException - for an invalid index.