码迷,mamicode.com
首页 >  
搜索关键字:scala set map list    ( 131561个结果
System.Collections里的一些接口
System.Collections 名称空间中的几个接口提供了基本的组合功能:? IEnumerable 可以迭代集合中的项。? ICollection(继承于IEnumerable)可以获取集合中项的个数,并能把项复制到一个简单的数组类型中。? IList(继承于IEnumerable 和ICo...
分类:其他好文   时间:2014-05-07 02:16:49    阅读次数:247
内核链表list.h
stddef.h #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) kernel.h /** * container_of - cast a member of a structure out to the containi...
分类:其他好文   时间:2014-05-07 02:10:07    阅读次数:410
erlang lists模块函数使用大全(copy)
一,带函数Pred 1, all(Pred, List) -> boolean()如果List中的每个元素作为Pred函数的参数执行,结果都返回true,那么all函数返回true, 否则返回false例子:lists:all(fun(E) -> true end,[1,2,3,4]).结果true...
分类:其他好文   时间:2014-05-07 01:59:17    阅读次数:552
sqlserver 遇到以零作除数错误的处理 不报错的解决方法
使用sqlserver 的选项来禁止出现以零除的错误中断,让而让其为nullsetansi_warningsoffSETARITHABORToffSETARITHIGNOREonselect 1/0显示结果无列名null
分类:数据库   时间:2014-05-07 01:55:33    阅读次数:563
滚动浏览
今天下午做了一个滚动浏览效果,贴在此,积累$(function(){ /* * 滚动浏览 */ $.fn.autoScroll = function(o){ o = $.extend({ speed: 20, step : 1, up : null, down : null }, o || {})....
分类:其他好文   时间:2014-05-07 01:49:02    阅读次数:234
69 Spring Interview Questions and Answers – The ULTIMATE List--reference
This is a summary of some of the most important questions concerning the Spring Framework, that you may be asked to answer in an interview or in an in...
分类:编程语言   时间:2014-05-07 01:48:25    阅读次数:601
Axis2 客户端调用 设置超时时间
请看下面的客户端代码:import org.apache.axis2.client.Options;import com.ctis.ta.service.impl.OpenAccountForUnitServiceStub;import com.ctis.ta.service.impl.OpenAc...
分类:其他好文   时间:2014-05-07 01:43:55    阅读次数:279
Java创建(读取)比较复杂的JSON对象
使用Java创建比较复杂的JSON对象,代码如下: 1 import java.util.ArrayList; 2 import java.util.HashMap; 3 import java.util.List; 4 5 import net.sf.json.JSONArray; 6 impo....
分类:编程语言   时间:2014-05-07 01:41:20    阅读次数:439
字符编码的奥秘
文件的存储方式: 文件都有自己的存储格式,比如最常见的txt,cpp,h,c,xml ,png, rmvb各种格式,还有自定义格式。这些文件不论是什么格式,都是存储在计算机硬盘里的2进制格存储,对应不同文件格式,有不同的软件解析。这篇文章不谈 文件是如何存储的,只谈文件是如何解析的。 文本文件解析:...
分类:其他好文   时间:2014-05-07 01:40:40    阅读次数:255
C#&Java重学笔记(集合比较和转换)
C#部分:1.C#中集合有三种,数组类,ArrayList,和字典键值对类,一般也可以自定义集合,但是自定义集合的类型也只有这三类。2.自定义集合实现三类集合的方法:前两者需要继承CollectionBase类,Array需要使用List属性,ArrayList需要使用InnerList属性,后一种...
分类:编程语言   时间:2014-05-07 01:27:42    阅读次数:396
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!