public Optional<Type> first() {
        return items.stream().findFirst();
    }
Returns the first item in this list, or empty if there are none.
vespajlib/src/main/java/com/yahoo/collections/AbstractFilteringList.java