enlarge the capacity if necessary , to ensure that it can hold the number of elements specified by newvalidcapacity argument . it will also narrow the valid capacity when needed . notice : it only enlarge or narrow the valid capacity with no care of the already stored invalid bytesrefwritable . concode_field_sep int valid concode_elem_sep BytesRefWritable[] bytesRefWritables concode_field_sep void readFields concode_elem_sep void set concode_elem_sep int size concode_elem_sep BytesRefWritable get concode_elem_sep BytesRefWritable unCheckedGet concode_elem_sep boolean equals concode_elem_sep void clear concode_elem_sep Writable newInstance concode_elem_sep int compareTo concode_elem_sep void ensureCapacity concode_elem_sep void write
void function ( int arg0 ) { ensureCapacity ( arg0 ) ; valid = arg0 ; }