- 浏览: 193424 次
- 性别:
- 来自: 大连
最新评论
-
zsw1023625712:
java 调用webservice的各种方法总结 -
蜀山红日:
顶一个~~
java 调用webservice的各种方法总结 -
赵大恩:
public static void main(String[ ...
宴席共有多少人 -
jamesmos:
mqo727 写道。。。为什么加1。。。。。。。
因为刚好 ...
宴席共有多少人 -
chenhao112358:
方法二是动态规划的思想,很好。
由1和2组成的二进制数,有多少个数其所有位数之和是10
文章列表
使用http://gicl.cs.drexel.edu/people/sevy/snmp/snmp.html 提供的“an open-source implementation of the SNMP protocol”。
实现功能之前,看了一些资料(网络管理,SNMP,SMI和MIB等),
- 2007-10-10 17:40
- 浏览 1316
- 评论(0)
Data Type Conversion
1. Array lengthTruncating an array by setting its length property is the only way that you can actually shorten an array. If you use the delete operator to delete an array element, that element becomes undefined, but the length property does not change.
2. Array.concat( )If any ...
- 2007-09-26 13:50
- 浏览 1113
- 评论(0)
java 代码
这是我写的二叉树和四种遍历方式,请指教。
p.s. 编号是按照满进行编号(location)。
public class BinaryTree {
private static final int ROOT_LOCATION = 1;
private BinaryNode root;
public BinaryTree() {
}
public BinaryNode getRoot() {
return root;
} ...
描述:1,2,3......n 从n中取出r个数。例如:n=5,r=31-2-3,1-2-4,1-2-5,1-3-4,1-3-5,1-4-52-3-4,2-3-5,2-4-53-4-5
下面是我的解决方法,还有其他的方法么?
java 代码
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set; ...