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(int b) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
Compares two ByteWritables.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
void |
set(int b) |
void |
write(java.io.DataOutput out) |
public void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic void set(int b)
public int compareTo(java.lang.Object o)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2012 The Apache Software Foundation