public class ByteWritable
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ByteWritable.Comparator
A Comparator optimized for BytesWritable.
|
Constructor and Description |
---|
ByteWritable() |
ByteWritable(byte b) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Compares two ByteWritables.
|
boolean |
equals(java.lang.Object o) |
byte |
get() |
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
void |
set(byte value) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput out) |
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public void set(byte value)
public byte get()
public int compareTo(java.lang.Object o)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012 The Apache Software Foundation