Interface IArray<T>

Type Parameters:
T - object type of the array elements

public interface IArray<T>
Interface for objects that can be viewed as an array.
  • Method Summary

    Modifier and Type
    Method
    Description
    T[]
     
    boolean
     
  • Method Details

    • isEmpty

      boolean isEmpty()
      Returns:
      true if elements() would return an array with length zero
    • elements

      T[] elements()
      Returns:
      an array representation of this object