?? direntry.java
字號:
package simpledb.index.btree;import simpledb.query.Constant;/** * A directory entry has two components: the number of the child block, * and the dataval of the first record in that block. * @author Edward Sciore */public class DirEntry { private Constant dataval; private int blocknum; /** * Creates a new entry for the specified dataval and block number. * @param dataval the dataval * @param blocknum the block number */ public DirEntry(Constant dataval, int blocknum) { this.dataval = dataval; this.blocknum = blocknum; } /** * Returns the dataval component of the entry * @return the dataval component of the entry */ public Constant dataVal() { return dataval; } /** * Returns the block number component of the entry * @return the block number component of the entry */ public int blockNumber() { return blocknum; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -