Here you can find the source of updateConfigurableListField(Dictionary
public static List<String> updateConfigurableListField(Dictionary<String, ?> properties, String propertyName)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.Dictionary; import java.util.List; public class Main { public static List<String> updateConfigurableListField(Dictionary<String, ?> properties, String propertyName) { int index = 0; List<String> configurableList = new ArrayList<String>(); while (properties.get(propertyName + index) != null) { String propertyValue = (String) properties.get(propertyName + index++); if (propertyValue != null && !propertyValue.isEmpty()) configurableList.add(propertyValue); }//from w w w . j a v a 2s . c o m return configurableList; } }