public class ShortWritable extends Object implements org.apache.hadoop.io.WritableComparable
| Modifier and Type | Class and Description |
|---|---|
static class |
ShortWritable.Comparator
A Comparator optimized for BytesWritable.
|
| Constructor and Description |
|---|
ShortWritable() |
ShortWritable(short s) |
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void set(short value)
public short get()
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2017 The Apache Software Foundation. All rights reserved.