Write a program to sort a stack in ascending order (with biggest items on top). You may use at most one additional stack to hold items, but you may no...
分类:
其他好文 时间:
2014-07-16 20:35:03
阅读次数:
288
1 #include 2 #include 3 #include 4 #include 5 #include 6 7 typedef void (__stdcall *P_WALK_DIR_CALLBACK)(const std::string &In_strFilePath); 8 ...
分类:
编程语言 时间:
2014-07-16 19:31:47
阅读次数:
256
前面LZ已经充分介绍了有关于List接口的大部分知识,如ArrayList、LinkedList、Vector、Stack,通过这几个知识点可以对List接口有了比较深的了解了。只有通过归纳总结的知识才是你的知识。所以下面LZ就List接口做一个总结。推荐阅读: java提高篇(二一)-----.....
分类:
编程语言 时间:
2014-07-13 22:20:01
阅读次数:
334
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:
其他好文 时间:
2014-07-13 12:59:24
阅读次数:
242
1.java中throw和throws:throw用在方法内部实际抛出异常的时候;throws用在方法...
分类:
编程语言 时间:
2014-07-12 23:55:58
阅读次数:
344
Exception in thread "HSQLDB Connection @429be9" java.lang.OutOfMemoryError: Java heap space
在服务器下的data/xxxx也就是数据库路径下,我的在F:\tomcat7\bin\data下删掉关于xxxx的文件及文件夹。...
分类:
数据库 时间:
2014-07-12 22:08:20
阅读次数:
338
1、错误描述
2014-7-10 23:12:23 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at com.opens...
分类:
编程语言 时间:
2014-07-12 21:34:37
阅读次数:
649
今天在pdf和excel中都实现了在浏览器弹出下载框
将之前在网上查找的生成excel表格代码稍微修改下:
public class CreateSimpleExcelToDisk {
/**
* @功能:手工构建一个简单格式的Excel
*/
private static List getNews() throws Exception
{
List data = new A...
分类:
编程语言 时间:
2014-07-12 16:57:35
阅读次数:
267
何谓异常很多人在讨论异常的时候很模糊,仿佛所谓异常就是try{}catch{},异常就是Exception,非常的片面,所以导致异常影响性能,XXXX……等很多奇怪的言论,所以在此我意在对异常正名。以下,我将异常这个很宽泛,容易被曲解的词进行严格的划分。异常机制所谓异常机制也就是指的语言平台支持异常...
分类:
其他好文 时间:
2014-07-12 15:09:11
阅读次数:
4599
1 //dom4j添加内容,在第一本书上指定位置添加售价 更改保存所有孩子list集合的顺序 2 @Test 3 public void add1() throws Exception{ 4 //读 5 SAXReader reader =...
分类:
其他好文 时间:
2014-07-12 14:25:49
阅读次数:
211