Code example for ObjectInput

Methods: readInt, readObject

0
    /** 
     * Read the whole tree from a file (serialized) 
     */ 
    public void readExternal(ObjectInput in)
	throws IOException, ClassNotFoundException { 
	_bitSize = in.readInt();
	_intSize = (_bitSize >>> 5) + 1;
	_mask    = in.readInt();
	_bits    = (int[])in.readObject();
    } 
 
}