摘要:
Tags in a [Term] stanza The OBO Flat File Format Specification, version 1.0Required tagsid The unique id of the current term. This can be any string. This tag must always be the first tag in any term description Example: id: CAR:0000001 name The term name. Any term may only have one name defined. If 阅读全文
posted @ 2012-04-13 20:23
emanlee
阅读(1281)
评论(0)
推荐(0)
摘要:
This diagram would be interpreted as follows: A is a B B is part of C we can infer that A is part of C The is a relation The is a relation in GO is very simple: if we say A is a B... 阅读全文
posted @ 2012-04-13 17:34
emanlee
阅读(420)
评论(0)
推荐(0)
摘要:
HashMap是基于哈希表的Map接口的非同步实现。此实现提供所有可选的映射操作,并允许使用null值和null键。此类不保证映射的顺序,特别是它不保证该顺序恒久不变。在java编程语言中,最基本的结构就是两种,一个是数组,另外一个是模拟指针(引用),所有的数据结构都可以用这两个基本结构来构造的,HashMap也不例外。HashMap实际上是一个“链表散列”的数据结构,即数组和链表的结合体。 从上图中可以看出,HashMap底层就是一个数组结构,数组中的每一项又是一个链表。当新建一个HashMap的时候,就会初始化一个数组。/** * The table, resized as necessa 阅读全文
posted @ 2012-04-13 14:39
emanlee
阅读(907)
评论(0)
推荐(1)
摘要:
Java中StringTokenizer的一个实例。 代码: StringTokenizer st = new StringTokenizer("this is a test"); while (st.hasMoreTokens()) { System.out.println(st.nextToken()); } 打印出来之后是: this is a test 接下来的实例阐明了Stirng.split方法如何将一个字符串分解成其基本令牌的。 String[] result = "this is a test".split("\\s" 阅读全文
posted @ 2012-04-13 09:44
emanlee
阅读(365)
评论(0)
推荐(0)

浙公网安备 33010602011771号