com.basistech.rlp
Class RLPIntegerPair

java.lang.Object
  extended by com.basistech.rlp.RLPIntegerPair

Deprecated. 4.3

public class RLPIntegerPair
extends Object

A pair of integers. This class is available for convenience to access some RLP results.

See Also:
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

start

public int start
Deprecated. 
The first integer; usually a start index (character or token).


end

public int end
Deprecated. 
The second integer; usually an end index (token or character).

Method Detail

equals

public boolean equals(Object o)
Deprecated. 
Returns true if the other object is a RLPIntegerPair with the same integer; otherwise false. values.

Overrides:
equals in class Object
Parameters:
o - Object The other object.
Returns:
boolean.

hashCode

public int hashCode()
Deprecated. 
The hashCode.

Overrides:
hashCode in class Object
Returns:
The hash code.

wrap

public static RLPIntegerPair[] wrap(IntBuffer buffer)
Deprecated. 
Wraps an IntBuffer of pairs of integers as an array of RLPIntegerPair objects.

Parameters:
buffer - java.nio.IntBuffer of pairs of integers.
Returns:
RLPIntegerPair[] containing the integers of the data.


Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.