java遍历Map的四种方法publicstaticvoidmain(String[]args){Map<String,String>map=newHashMap<String,String>();map.put("1","value1");map.put("2","value2");map.put("3","value3");//第一种:普遍使用,二次取值System.out.println("通过Map.keySet遍历key和va..
分类:
其他好文 时间:
2015-06-03 16:01:09
阅读次数:
99
原文:http://tech.it168.com/oldarticle/2006-04-02/200604021512359.shtmlhttp://www.cnblogs.com/m-cnblogs/archive/2012/02/23/2364906.html1.创建测试存储过程: SQL> c...
分类:
数据库 时间:
2015-06-03 13:12:18
阅读次数:
158
Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 9679Accepted: 5420DescriptionOver the years, the people of the great city of Pittsburgh have ...
分类:
其他好文 时间:
2015-06-03 13:11:17
阅读次数:
97
hibernate抓取策略fetch具体解释一、hibernate抓取策略(单端代理的批量抓取fetch=select(默认)/join)測试用例:Student student = (Student)session.get(Student.class, 1);System.out.println(...
分类:
Web程序 时间:
2015-06-03 11:32:26
阅读次数:
202
oracle存储过程、声明变量、for循环1、创建存储过程create or replace procedure test(var_name_1 in type,var_name_2 out type) as --声明变量(变量名 变量类型)begin --存储过程的执行体end test;打印.....
分类:
数据库 时间:
2015-06-03 11:28:19
阅读次数:
246
概述jmap是一个多功能的命令。它可以生成java程序的堆dump文件,也可以查看堆内对象实例的统计信息,查看ClassLoader的信息以及Finalizer队列。使用示例导出对象统计信息下面的命令生成PID为2500的java成粗的对象的统计信息,并输出到out.txt文件中:[qifuguang@winwill~]$ jmap -histo 2500 > out.txt
[qifuguang@...
分类:
其他好文 时间:
2015-06-03 09:58:53
阅读次数:
212
public class MyException { public void myExcep(Throwable e) { System.out.println(e.getMessag...
分类:
其他好文 时间:
2015-06-03 09:41:39
阅读次数:
97
存储过程示例: create or replace procedure Fsp_Plan_CheckPrj(v_grantno varchar2, v_deptcode number, v_cursor out sys_refcursor) is ……………… ---返回统计结果 ...
分类:
其他好文 时间:
2015-06-03 09:32:27
阅读次数:
187
Given an array of integers and an integerk, find out whether there there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the d...
分类:
其他好文 时间:
2015-06-03 06:10:22
阅读次数:
102
1:不管是实参还是形参,都在内存中开辟空间。2:写一个方法,它的功能一定要单一,方法中最忌讳的就是出现提示用户输入的字眼。3:out参数如果在一个方法中,返回多个类型相同的值时,可以考虑返回一个数组。但是,如果返回多个不同类型的值的时候,返回数组就不行了,我们可以考虑使用out参数。out参数就侧重...