public static SelectInput build(String name, String keys[], String values[]) {
		SelectInput si = SelectInput.build(name);
		if (keys.length != values.length) {
			throw new IllegalArgumentException("Key / Values with unequal length");
		}
		List<SelectInputEntry> entries = new ArrayList<>();
		for (int i = 0; i < keys.length; i++) {
			entries.add(si.generateEntry(keys[i], values[i]));
		}
		si.setEntries(entries);
		return si;
	}
public static SelectInput build(String name, String keys[], String values[]) {
		SelectInput si = SelectInput.build(name);
		if (keys.length != values.length) {
			throw new IllegalArgumentException("Key / Values with unequal length");
		}
		List<SelectInputEntry> entries = new ArrayList<>();
		for (int i = 0; i < keys.length; i++) {
			entries.add(si.generateEntry(keys[i], values[i]));
		}
		si.setEntries(entries);
		return si;
	}
public static SelectInput build ( String name , String keys [ ] , String values [ ] ) { SelectInput si = SelectInput . build ( name ) ; if ( keys . length != values . length ) { throw new IllegalArgumentException ( "Key / Values with unequal length" ) ; } List < SelectInputEntry > entries = new ArrayList <> ( ) ; for ( int i = 0 ; i < keys . length ; i ++ ) { entries . add ( si . generateEntry ( keys [ i ] , values [ i ] ) ) ; } si . setEntries ( entries ) ; return si ; }
convenience method
convenience method