public class TupleSlotPointer
extends java.lang.Object
Constructor and Description |
---|
TupleSlotPointer(java.lang.Class<? extends java.lang.Comparable> type,
int slot)
Constructs a new tuple slot pointer given the slot.
|
Modifier and Type | Method and Description |
---|---|
int |
getSlot()
Returns the slot this pointer points to.
|
java.lang.Class<? extends java.lang.Comparable> |
getType()
Returns the type of this slot.
|
java.lang.String |
toString()
Textual representation.
|
public TupleSlotPointer(java.lang.Class<? extends java.lang.Comparable> type, int slot)
type
- the type of the slot.slot
- the number of the slot.public int getSlot()
public java.lang.Class<? extends java.lang.Comparable> getType()
public java.lang.String toString()
toString
in class java.lang.Object