dbc.java
来自「一高效基于主键值的文件型数据库」· Java 代码 · 共 54 行
JAVA
54 行
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1997, 1998, 1999 * Sleepycat Software. All rights reserved. * * @(#)Dbc.java 11.1 (Sleepycat) 7/25/99 */package com.sleepycat.db;/** * * @author Donald D. Anderson */public class Dbc{ // methods // public native void close() throws DbException; // returns: 0, DB_KEYEMPTY, or throws error public native int del(int flags) throws DbException; public native Dbc dup(int flags) throws DbException; // returns: 0, DB_NOTFOUND, or throws error public native int get(Dbt key, Dbt data, int flags) throws DbException; // returns: 0, DB_KEYEXIST, or throws error public native int put(Dbt key, Dbt data, int flags) throws DbException; protected native void finalize() throws Throwable; // get/set methods // // private data // private long private_info_ = 0; static { Db.load_db(); }}// end of Dbc.java
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?