T - node data typepublic class FibonacciHeapNode<T>
extends java.lang.Object
| Constructor and Description |
|---|
FibonacciHeapNode(T data)
Constructs a new node.
|
| 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)
data - data for this nodepublic final double getKey()
public final T getData()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.