public static <T> T getAnyFrom(Collection<T> collection) {
        final Iterator<T> iterator = collection.iterator();
        if (iterator.hasNext()) {
            return iterator.next();
        }
        throw new NoSuchElementException("No value present");
    }
Gets one element from the provided Collection. If no element is present,
an Exception is thrown. No guarantee is made as to which element is
returned from time to time.

@param <T> Collection type
@param collection to use
@return one element from the provided Collection
@throws NoSuchElementException if no elements are present in the
Collection
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/util/CollectionsUtil.java