📄 pointertoheap.java
字号:
public class PointerToHeap {
// pointer from a fibonacci node to a distance value of the graph
private int dist;
private FibonacciNode Pointer;
public PointerToHeap(){
this.dist=0;
this.Pointer=null;
}
public PointerToHeap(int d,FibonacciNode P){
dist=d;
Pointer=P;
}
public int getDist(){
return this.dist;
}
public FibonacciNode getPointer(){
return this.Pointer;
}
public void setDist(int dist){
this.dist=dist;
}
public void setPointer(FibonacciNode Pointer){
this.Pointer=Pointer;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -