⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nodetreesettest.java

📁 Java的面向对象数据库系统的源代码
💻 JAVA
字号:
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// This file is// Copyright (C) 2003-@year@ Leo Mekenkamp. All rights reserved.// $Id: FullTreeMap.java,v 1.3 2003/02/02 17:21:41 leomekenkamp Exp $package org.ozoneDB.collections;import java.util.Collection;import java.util.TreeSet;import junit.framework.TestCase;import junit.framework.TestSuite;import junit.swingui.TestRunner;import org.ozoneDB.OzonePersonalMetaData;/** * @author <a href="mailto:ozoneATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a> */public class NodeTreeSetTest extends OzoneCollectionTest {        /** Creates a new instance of FullTreeSetTest */    public NodeTreeSetTest(String name) {        super(name);    }        public static void main(String[] args) throws Exception {        TestRunner testRunner = new TestRunner();        testRunner.run(NodeTreeSetTest.class);    }            protected Collection createRef() {        return new TreeSet();    }        protected Collection createCmp() throws Exception {        return NodeTreeSetImplFactory.getDefault().create();    }//    protected Collection createCmp1() {//        return new GnuTreeSet();//    }        protected Collection createCmp(String name) throws Exception {        OzonePersonalMetaData meta = new OzonePersonalMetaData();        meta.setName(name);        return NodeTreeSetImplFactory.getDefault().create(meta, null);    }    }

⌨️ 快捷键说明

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