dbbufferreturnelement.java
来自「数据库实现的一个源码包」· Java 代码 · 共 24 行
JAVA
24 行
package neustore.base;
/**
* A buffered page as return result to {@link DBBuffer#readPage}.
* Besides the page itself, the returned element also
* specifies the nodeType and whether the node was parsed. If parsed, the returned
* object is of class DBPage. Otherwise, the returned object is a byte array and
* it's up to the application to generate a DBPage object.
*
* @see DBBuffer
* @author Donghui Zhang <donghui@ccs.neu.edu>
*/
public class DBBufferReturnElement {
public int nodeType;
public Object object;
public boolean parsed;
public DBBufferReturnElement( int _nodeType, Object _object, boolean _parsed ) {
nodeType = _nodeType;
object = _object;
parsed = _parsed;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?