MapWritable map = new MapWritable();
map.put(new Text("one"), new VIntWritable(1));
map.put(new Text("two"), new VLongWritable(2));
Writable[] writables = new Writable[] {
new BytesWritable(new byte[] { 1, 2, 3, 4 }),
new ByteWritable((byte) 123), new BooleanWritable(true),
new VIntWritable(12345), new VLongWritable(123456789L),
new FloatWritable((float) 1.2), new DoubleWritable(1.234),
new Text("random string"),
new ObjectWritable("test")
};