vaadin/src/main/java/net/typedrest/vaadin/forms/EntityPicker.java
public void setCandidates(Collection<T> candidates) {
        twinColSelect.setContainerDataSource(
                container = new BeanItemContainer<>(entityType, candidates));
    }
public void setCandidates(Collection<T> candidates) {
        twinColSelect.setContainerDataSource(
                container = new BeanItemContainer<>(entityType, candidates));
    }
public void setCandidates ( Collection < T > candidates ) { twinColSelect . setContainerDataSource ( container = new BeanItemContainer <> ( entityType , candidates ) ) ; }
Sets a set of candidates for selection.

@param candidates The candidates for selection.
Sets a set of candidates for selection .