|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basistech.rlp.RLPIntegerPair
public class RLPIntegerPair
A pair of integers. This class is available for convenience to access some RLP results.
RLPResultRandomAccess
Nested Class Summary | |
---|---|
static class |
RLPIntegerPair.List
Deprecated. Iteration support for an IntBuffer viewed as a List
of RLPIntegerPair objects. |
Field Summary | |
---|---|
int |
end
Deprecated. The second integer; usually an end index (token or character). |
int |
start
Deprecated. The first integer; usually a start index (character or token). |
Method Summary | |
---|---|
boolean |
equals(Object o)
Deprecated. Returns true if the other object is a RLPIntegerPair with the same integer; otherwise false. |
int |
hashCode()
Deprecated. The hashCode. |
static RLPIntegerPair[] |
wrap(IntBuffer buffer)
Deprecated. Wraps an IntBuffer of pairs of integers as an array of RLPIntegerPair objects. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int start
public int end
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
o
- Object The other object.
public int hashCode()
hashCode
in class Object
public static RLPIntegerPair[] wrap(IntBuffer buffer)
IntBuffer
of pairs of integers as an array of RLPIntegerPair
objects.
buffer
- java.nio.IntBuffer of pairs of integers.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |