code: public static <E> E last(E[] array) {
          return new LastElement<E>().apply(new ArrayIterator<>(array));
      }
docs: Yields the last element.
  
  @param <E> the array element type
  @param array the array that will be consumed @throw
  IllegalArgumentException if no element is found
  @return the last element