@InterfaceAudience.Public @InterfaceStability.Stable public class ShortWritable extends Object implements WritableComparable<ShortWritable>
| コンストラクタと説明 | 
|---|
| ShortWritable() | 
| ShortWritable(short value) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| int | compareTo(ShortWritable o)Compares two ShortWritable. | 
| boolean | equals(Object o)Returns true iff  ois a ShortWritable with the same value. | 
| short | get()Return the value of this ShortWritable. | 
| int | hashCode()hash code | 
| void | readFields(DataInput in)read the short value | 
| void | set(short value)Set the value of this ShortWritable. | 
| String | toString()Short values in string format | 
| void | write(DataOutput out)write short value | 
public ShortWritable()
public ShortWritable(short value)
public void set(short value)
public short get()
public void readFields(DataInput in) throws IOException
readFields インタフェース内 Writablein - DataInput to deseriablize this object from.IOExceptionpublic void write(DataOutput out) throws IOException
write インタフェース内 Writableout - DataOuput to serialize this object into.IOExceptionpublic int compareTo(ShortWritable o)
compareTo インタフェース内 Comparable<ShortWritable>Copyright © 2016 Apache Software Foundation. All rights reserved.