?? 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 + -