public class Range extends Object implements Streamable, Comparable<Range>
Constructor and Description |
---|
Range()
For externalization
|
Range(long low,
long high) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Range other) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readFrom(DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
serializedSize() |
String |
toString() |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public int compareTo(Range other)
compareTo
in interface Comparable<Range>
public void writeTo(DataOutput out) throws Exception
Streamable
writeTo
in interface Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
readFrom
in interface Streamable
Exception
public int serializedSize()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.