class Guavate {

  public static <T> Optional<T> first(Iterable<T> iterable) {
    Iterator<T> it = iterable.iterator();
    return it.hasNext() ? Optional.of(it.next()) : Optional.empty();
  }

  private  Guavate();

}