(DataOutput out)
| 229 | } |
| 230 | |
| 231 | public final void write(DataOutput out) throws IOException { |
| 232 | out.writeInt(size()); |
| 233 | String[] values = null; |
| 234 | String[] names = names(); |
| 235 | for (int i = 0; i < names.length; i++) { |
| 236 | Text.writeString(out, names[i]); |
| 237 | values = _getValues(names[i]); |
| 238 | int cnt = 0; |
| 239 | for (int j = 0; j < values.length; j++) { |
| 240 | if (values[j] != null) |
| 241 | cnt++; |
| 242 | } |
| 243 | out.writeInt(cnt); |
| 244 | for (int j = 0; j < values.length; j++) { |
| 245 | if (values[j] != null) { |
| 246 | Text.writeString(out, values[j]); |
| 247 | } |
| 248 | } |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | public final void readFields(DataInput in) throws IOException { |
| 253 | int keySize = in.readInt(); |
nothing calls this directly
no test coverage detected