181182183184185186187188189190
* @return the editable array; never null */ public static EditableArray newArray( Object... values ) { BasicArray array = new BasicArray(); for (Object value : values) { array.addValue(value); } return new ArrayEditor(array, DEFAULT_FACTORY); } }
374375376377378379380381382383384
String index = indexIter.next(); if (!index.equals(name)) { // The doc's field names don't match integral index values ... return null; } array.addValue(value); } return array; case STRING: case INTEGER: case NUMBER: