entrybinding.java

来自「嵌入式数据库Berkeley DB-4.5.20源代码」· Java 代码 · 共 39 行

JAVA
39
字号
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000-2006 *      Oracle Corporation.  All rights reserved. * * $Id: EntryBinding.java,v 12.3 2006/08/31 18:14:05 bostic Exp $ */package com.sleepycat.bind;import com.sleepycat.db.DatabaseEntry;/** * A binding between a key or data entry and a key or data object. * * @author Mark Hayes */public interface EntryBinding {    /**     * Converts a entry buffer into an Object.     *     * @param entry is the source entry buffer.     *     * @return the resulting Object.     */    Object entryToObject(DatabaseEntry entry);    /**     * Converts an Object into a entry buffer.     *     * @param object is the source Object.     *     * @param entry is the destination entry buffer.     */    void objectToEntry(Object object, DatabaseEntry entry);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?