ChinaUnix.net
相关文章推荐:

mongodb java create collection

http://www.mongodb.org 有人了解这个DB吗?

by ruochen - MySQL - 2011-02-10 13:12:47 阅读(3072) 回复(5)

相关讨论

java collection Framework We have tried you to make a walk through the collection Framework. The collection Framework provides a well-designed set if interface and classes for sorting and manipulating groups of data as a single unit, a collection. The collection Framework provides a standard programming interface to many of the most common abstractions, without burdening the programmer with too m...

by real_time - Java文档中心 - 2006-03-23 09:02:21 阅读(949) 回复(0)

javax.servlet.jsp.JspException: Cannot create iterator for this collection at org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:265) at org.apache.jsp.adm.adm_005fuser_jsp._jspService(adm_005fuser_jsp.java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.Js...

by cerry - Java - 2005-09-13 10:58:47 阅读(4014) 回复(0)

collection ├List │├LinkedList │├ArrayList │└Vector │ └Stack └Set collection ├List │├LinkedList │├ArrayList │└Vector │ └Stack └Set collection接口   collection是最基本的集合接口,一个collection代表一组Object,即collection的元素(Elements)。一些collection允许相同的元素而另一些不行。一些能排序而另一些不行。java SDK不提供直接继承自collection的类,java SDK提供的类都...

by hncw13 - Java文档中心 - 2005-08-12 11:34:40 阅读(725) 回复(0)

1.Set接口 Set 接口继承 collection 接口,而且它不允许集合中存在重复项,每个具体的 Set 实现类依赖添加的对象的 equals()方法来检查独一性。Set接口没有引入新方法,所以Set就是一个collection,只不过其行为不同。 下面介绍Set接口3种主要的实现类。 HashSet 为快速查找而设计的Set。存入HashSet的元素必须定义hashCode()。 TreeSet 保存次序的Set,底层为树结构。使用它可以从Set中提取有序的序列。元素必须实现Comparabl...

by china1985 - Java文档中心 - 2007-11-26 16:08:48 阅读(896) 回复(0)

打开不了myeclipse,每次启动都报错“could not create the java virtual machine”,开始以为是java虚拟机出了问题,于是卸了重装还是出现如此问题。接着到网上查找相关资料,经过试验,成功解决问题。过程如下: 1、在D:\MyEclipse\eclipse有个eclipse.ini文件,原来的配置如下: -showsplash com.genuitec.myeclipse.blue.product.ide --launcher.XXMaxPermSize 256m -vmargs -Xms128m -Xmx512m -Duser.language=en XX:P...

by joanzq - Java文档中心 - 2008-11-15 23:26:47 阅读(1641) 回复(0)

windows 2000 server + oracle 9.2的环境下,本机有安装jdk1.4.2, 在create java source时,我需要import一个外部的类, 不是oracle和jdk自带的, 怎么让oracle可以找到这个类的位置呢?

by beatles_wang - Oracle - 2006-04-11 10:40:30 阅读(926) 回复(0)

面向对象编程:java collection更有效管理elements 作者: builder.com Tuesday, April 16 2002 2:10 PM 前面的文章中,我们讨论了“转成OOP:java中抽象数据类型”、抽象数据类型(ADT)如何表示软件结构,以及开发人员可以应用ADT(不需知道具体操作细节)来封装面向对象程序。我们还讨论了java 2软件开发工具箱中的collection提供的类问题并解释了如何创建更有效的抽象数据类型。本文中,我们将要说说collections中的其他...

by eclipse - Java - 2002-07-13 08:58:11 阅读(2308) 回复(0)

package self.collection.eg1; import java.util.*; class Name{ private String name; private int age; public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Name(String name, int age) { this.name = name; this.age = age; } public boolean equals(Ob...

by studyj - Java文档中心 - 2007-06-25 14:05:16 阅读(635) 回复(0)

执行java是就显示: [root@tomcat ~]# java Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the java virtual machine. [ 本帖最后由 romexp 于 2007-12-20 16:27 编辑 ]

by romexp - Java - 2008-01-01 23:17:46 阅读(10277) 回复(9)