Class Listables.IListableArray<E>

java.lang.Object
org.magicwerk.brownies.collections.Listables.IListableArray<E>
All Implemented Interfaces:
IListable<E>
Enclosing class:
Listables

public static class Listables.IListableArray<E> extends Object implements IListable<E>
Class Listables.IListableArray implements the IListable interface for arrays.
  • Field Details

    • array

      E[] array
  • Constructor Details

    • IListableArray

      public IListableArray(E[] array)
  • Method Details

    • size

      public int size()
      Description copied from interface: IListable
      Return size of list
      Specified by:
      size in interface IListable<E>
    • get

      public E get(int index)
      Description copied from interface: IListable
      Return element at specified position
      Specified by:
      get in interface IListable<E>