static <T> BeanContainer<T> of(final Set<? extends T> entries) {
        return new ListBeanContainer<>(new ArrayList<>(entries));
    }
Of bean container.

@param <T>     the type parameter
@param entries the entries
@return the bean container
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/beans/BeanContainer.java