class ListComboBoxModel extends AbstractListModel<E> implements MutableComboBoxModel<E> {

    public void setSelectedElement(E anObject) throws IllegalArgumentException
    {
        if (!Objects.equals(anObject, mySelectedObject))
        {
            if (anObject == null || myObjects.contains(anObject))
            {
                mySelectedObject = anObject;
                fireContentsChanged(this, -1, -1);
            }
            else
            {
                throw new IllegalArgumentException("Selected element is not a valid choice: " + anObject);
            }
        }
    }

    public  ListComboBoxModel();
    @SafeVarargs @SuppressWarnings({ "varargs", "PMD.ConstructorCallsOverridableMethod" }) public  ListComboBoxModel(E... items);
    @SuppressWarnings("PMD.ConstructorCallsOverridableMethod") public  ListComboBoxModel(Collection<? extends E> items);
    private  ListComboBoxModel(List<E> items);

}