📄 fulltreesettest.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: FullTreeSetTest.java,v 1.1 2003/02/16 20:25:45 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 FullTreeSetTest extends OzoneSortedSetTest { /** Creates a new instance of FullTreeSetTest */ public FullTreeSetTest(String name) { super(name); } public static void main(String[] args) throws Exception { TestRunner testRunner = new TestRunner(); testRunner.run(FullTreeSetTest.class); } protected Collection createRef() { return new TreeSet(); } protected Collection createCmp() throws Exception { return FullTreeSetImplFactory.getDefault().create(); }// protected Collection createCmp1() {// return new GnuTreeSet();// } protected Collection createCmp(String name) throws Exception { OzonePersonalMetaData meta = new OzonePersonalMetaData(); meta.setName(name); return FullTreeSetImplFactory.getDefault().create(meta, null); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -