public boolean apply(IFormBuilder formBuilder, Alts.AltChooser altChooser) { String s = Alts.chooseElement(alts, this, altChooser); if (s != null) { formBuilder.add(s); return true; } else { return false; } }
public IFormBuilder apply(Alts.AltChooser altChooser) { String s = Alts.chooseElement(alts, this, altChooser); if (s != null) { FormBuilder formBuilder = new FormBuilder(); formBuilder.add(s); return formBuilder; } else { return null; } }