dxmap.java
来自「用Java写的面相对象的数据库管理系统」· Java 代码 · 共 56 行
JAVA
56 行
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// The original code and portions created by SMB are// Copyright (C) 1997-2000 by SMB GmbH. All rights reserved.//// $Id: DxMap.java,v 1.5 2000/10/28 16:55:14 daniela Exp $package org.ozoneDB.DxLib;import java.io.*;/** * * * @author <a href="http://www.softwarebuero.de/">SMB</a> * @version $Revision: 1.5 $Date: 2000/10/28 16:55:14 $ */public interface DxMap extends DxCollection { public boolean addForKey( Object obj, Object key ); public Object elementForKey( Object key ); /** * Returns the key for the given object, which has to be the same * object as stored in the map. */ public Object keyForElement( Object obj ); public Object removeForKey( Object key ); public boolean removeAllKeys( DxCollection coll ); /** * This method is not declared abstract because it does not need to * be implemented in any case. */ public Object buildKey( Object obj ); public boolean containsKey( Object key ); public DxSet keySet(); public DxSet elementSet();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?