1 2 3 4 package net.nutch.io; 5 6 import java.io.*; 7 8 9 public class NullWritable implements Writable { 10 11 private static final NullWritable THIS = new NullWritable(); 12 13 private NullWritable() {} 15 16 public static NullWritable get() { return THIS; } 17 18 public void readFields(DataInput in) throws IOException {} 19 public void write(DataOutput out) throws IOException {} 20 } 21 22 | Popular Tags |