public class FibonacciHeapNode<T>
extends java.lang.Object
Constructor and Description |
---|
FibonacciHeapNode(T data,
double key)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getData()
Obtain the data for this node.
|
double |
getKey()
Obtain the key for this node.
|
java.lang.String |
toString()
Return the string representation of this object.
|
public FibonacciHeapNode(T data, double key)
data
- data for this nodekey
- initial key for nodepublic final double getKey()
public final T getData()
public java.lang.String toString()
toString
in class java.lang.Object