java
文章平均质量分 57
dy1019182115
这个作者很懒,什么都没留下…
展开
-
Excel hander
For excel handle . we have two way to fix . one is use poi to handle the excel data . another way is use jXLS to handle the excel.http://fahdshariff.blogspot.hk/2014/06/parsing-excel-file-into-javabe转载 2016-07-22 12:28:09 · 344 阅读 · 0 评论 -
Java序列化(Serializable)与反序列化
序列化是干什么的简单说就是为了保存在内存中的各种对象的状态(也就是实例变量,不是方法),并且可以把保存的对象状态再读出来。虽然你可以用你自己的各种各样的方法来保 存object states,但是Java给你提供一种应该比你自己好的保存对象状态的机制,那就是序列化。什么情况下需要序列化当你想把的内存中的对象状态保存到一个文件中或者数据库中时候; 当你想用套接字在网络上传送对象的时候; 当你想通过转载 2016-07-22 19:30:48 · 272 阅读 · 0 评论 -
JPA study
http://www.objectdb.com/java/jpa/persistence/storehttp://www.objectdb.com/java/jpa/persistence/overviewhttp://www.thejavageek.com/2014/01/12/jpa-crud-example/JPA CRUD example: Create a JPA project. Cre转载 2016-07-22 19:49:22 · 243 阅读 · 0 评论 -
Loop map
package com.mkyong;import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry;public class LoopMap {public static void main(String[] args) { // initial转载 2016-07-22 09:51:04 · 371 阅读 · 0 评论 -
ArrayList
when I use ArrayList ,I found that I often meet the exception:java.lang.IndexOutOfBoundsException happenhow to avoid this exception, that when we loop the ArrayList or add elements in ArrayList, you ne原创 2016-08-25 11:12:44 · 184 阅读 · 0 评论