码迷,mamicode.com
首页 >  
搜索关键字:util    ( 21888个结果
静态导入
import java.util.*; import static java.util.Arrays.*;//导入Arrays这个类中的所有静态成员。 /* 当类名重复时,需要指定具体的包名 当方法名重复时,需要指定具备所属的对象或者类。 */ import static java.lang.Sys...
分类:其他好文   时间:2014-07-19 17:27:27    阅读次数:220
自己写的POIUtil,主要解决从不同的HSSFWorkbook复制sheet
原始代码网上找的,但是小问题很多,然后自己动手改了一下。import org.apache.poi.hssf.usermodel.*;import org.apache.poi.ss.util.CellRangeAddress;import java.util.ArrayList;import ja...
分类:其他好文   时间:2014-07-19 16:21:04    阅读次数:247
java中的Iterator和Iterable
1.Iterable接口在java.lang包中;Iterator接口在java.util包中2.Iterable中只有一个方法,那就是返回一个Iterator迭代器:Iterator iterator() 而Iterator中有关于迭代器的核心功能,next(),hasNext(),remove(...
分类:编程语言   时间:2014-07-18 19:06:45    阅读次数:4190
【DateStructure】 Charnming usages of Map collection in Java
When learning the usage of map collection in java, I found serveral beneficial methods that was encountered in the daily life. Now  I made a summary:  import java.util.ArrayList; import java.util.Col...
分类:编程语言   时间:2014-07-18 15:13:56    阅读次数:242
util.string.js
ylbtech-JavaScript-util:util.string.js字符串处理工具1.A,JS-效果图返回顶部 1.B,JS-Source Code(源代码)返回顶部1.B.1, m.yintai/******************************************* ...
分类:Web程序   时间:2014-07-18 14:31:23    阅读次数:482
api.js
ylbtech-JavaScript-util: api.jsAPI 代理接口1.A,JS-效果图返回顶部 1.B,JS-Source Code(源代码)返回顶部1.B.1, m.yintai/*调用接口*/function call(methodName, method, ver, data, s...
分类:Windows程序   时间:2014-07-18 14:31:07    阅读次数:520
common.js
ylbtech-JavaScript-util:common.js通用方法1.A,JS-效果图返回顶部 1.B,JS-Source Code(源代码)返回顶部1.B.1, m.yintai/*返回*/function goback() { var returnUrl = $.query.get...
分类:Web程序   时间:2014-07-18 14:30:52    阅读次数:502
SharedPreferences详解(三)——存取图片
MainActivity如下: package cc.sp; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import android.os.Bundle; import android.util.Base64; import android.view.View; import andro...
分类:其他好文   时间:2014-07-18 13:39:01    阅读次数:342
Android 开发技巧总结(二)
1.首选项的存取数据写一个类,里面放入存取方法,然后在外面进行调用publicclassPrefsUtils{privatestaticfinalStringPREFS_NAME="com.yomoto.util.OtherPrefs";//这里放入的名字存入的地址是:data/data/项目包名/...
分类:移动开发   时间:2014-07-18 13:37:47    阅读次数:293
【DataStructure】A useful util class for reading and writing files
Faced with the upcoming exam, Some useful methods referred to file operation drew tremenous attention. Now I make a summary to reading file. import java.io.BufferedReader; import java.io.BufferedWri...
分类:其他好文   时间:2014-07-18 12:26:25    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!