Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
courses:mapreduce-tutorial:step-27 [2012/01/28 20:14] straka |
courses:mapreduce-tutorial:step-27 [2012/01/29 16:18] straka |
||
---|---|---|---|
Line 24: | Line 24: | ||
public void write(DataOutput out) throws IOException { | public void write(DataOutput out) throws IOException { | ||
- | int highest_pos | + | int mask_shift |
- | while (highest_pos | + | while (mask_shift |
- | while (highest_pos | + | while (mask_shift |
- | out.writeByte(0x80 | ((value >> | + | out.writeByte(0x80 | ((value >> |
- | | + | |
} | } | ||
out.writeByte(value & 0x7F); | out.writeByte(value & 0x7F); |