List of utility methods to do Iterable First
T | getFirstOrNull(Iterable get First Or Null if (it == null) return null; Iterator<T> i = it.iterator(); if (i == null || !i.hasNext()) return null; try { return i.next(); } catch (NoSuchElementException e) { ... |
T | getFirstOrNull(Iterable Get the first element from iterable. return getFirstOrNull(iterable.iterator());
|
T | removeFirst(Iterable remove First return removeNext(iterable.iterator());
|