com.basistech.rlp
Class RLPIntegerTriple

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

Deprecated. 4.3

public class RLPIntegerTriple
extends Object

A triple of integers, which is a data type used in some RLP results. The only current use assigns the three items to be [start,end,type].

See Also:
RLPResultRandomAccess

Nested Class Summary
static class RLPIntegerTriple.List
          Deprecated. Iteration support for an IntBuffer viewed as a List of RLPIntegerTriple objects.
 
Field Summary
 int end
          Deprecated. The second integer, generally an end index.
 int start
          Deprecated. The first integer, generally a start index.
 int type
          Deprecated. The third integer, generally a type.
 
Method Summary
 boolean equals(Object o)
          Deprecated. Returns true if the parameter is a RLPIntegerTriple with the same values; otherwise false.
 int hashCode()
          Deprecated. The hash code.
static RLPIntegerTriple[] wrap(IntBuffer buffer)
          Deprecated. Wraps an IntBuffer of triples of integers as an array of RLPIntegerTriple 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, generally a start index.


end

public int end
Deprecated. 
The second integer, generally an end index.


type

public int type
Deprecated. 
The third integer, generally a type.

Method Detail

equals

public boolean equals(Object o)
Deprecated. 
Returns true if the parameter is a RLPIntegerTriple with the same values; otherwise false.

Overrides:
equals in class Object
Parameters:
o - Object the other object to compare.
Returns:
boolean.

hashCode

public int hashCode()
Deprecated. 
The hash code.

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

wrap

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

Parameters:
buffer - java.nio.IntBuffer containing the data.
Returns:
RLPIntegerTriple[] containing the resulting objects.


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