private boolean isPermitted(String rootpath) { return permittedroots != null && permittedroots.contains(rootpath); }
public static StringSet computeSelectionSet(UIBound selection) { StringSet togo = new StringSet(); if (selection instanceof UIBoundList) { togo.addAll(((UIBoundList) selection).getValue()); } else if (selection instanceof UIBoundString) { togo.add(((UIBoundString) selection).getValue()); } return togo; }
UIForm toprocess = (UIForm) toprocesso; StringSet submittingnames = new StringSet(); boundchild.submittingname = boundchild.getFullID(); submittingnames.add(boundchild.submittingname); for (Iterator keyit = attrmap.keySet().iterator(); keyit.hasNext();) { String key = (String) keyit.next(); if (submittingnames.contains(key)) { keyit.remove();
public void addAll(String[] array) { for (int i = 0; i < array.length; ++ i) { add(array[i]); } } public boolean add(Object o) {
public void setPermittedBeanRoots(StringList permittedroots) { this.permittedroots.addAll(permittedroots); //this.permittedroots = permittedroots.toStringArray(); }
if (selhash.contains(optionlist[i])) { leftnames.add(optionnames[i]); leftvals.add(optionlist[i]);
if (selhash.contains(optionlist[i])) { leftnames.add(optionnames[i]); leftvals.add(optionlist[i]);