Searched refs:keyValues (Results 1 – 2 of 2) sorted by relevance
29 public void setKeyValues(Object... keyValues) { in setKeyValues() argument30 if (keyValues.length % 2 != 0) { in setKeyValues()34 for (int i = 0; i < keyValues.length; i += 2) { in setKeyValues()35 if (!(keyValues[i] instanceof String)) { in setKeyValues()37 + "String, but found an object of type " + keyValues[i].getClass() + "!"); in setKeyValues()39 String key = (String)keyValues[i]; in setKeyValues()40 Object value = keyValues[i+1]; in setKeyValues()45 public static KeyValueMap fromKeyValues(Object... keyValues) { in fromKeyValues() argument47 result.setKeyValues(keyValues); in fromKeyValues()
123 public final void initWithAssignmentList(Object... keyValues) { in initWithAssignmentList() argument125 valueMap.setKeyValues(keyValues); in initWithAssignmentList()