hadoopIO序列化工厂WritableFactorypublic interface Wr...
作为工厂模式的WritableFactory,其抽象为一个接口,提供了具体的Writable对象创建实例的抽象方法newInstance(),代码如下:publicinterfaceWritableFactory{
/**Returnanewinstance.*/
WritablenewInstance();
}WritableFactories类类似于WritableComparator类利用