這一篇要說明的是,如何使用 JDK 7 推出的 NIO 2 進行 TCP
程式開發,底下的類別圖只是其中較重要的部份,要詳細了解各類別關係,及各類別的 method,請查閱 API Documents。NIO 2 同時提供
blocking 和 non-blocking 的模式,blocking 模...
分类:
其他好文 时间:
2014-06-04 16:38:07
阅读次数:
306
ASP.NET MVC学前篇之Lambda表达式、依赖倒置前言
随着上篇文章的阅读,可能有的朋友会有疑问,比如(A.Method(xxx=>xx>yy);)类似于这样的函数调用语句,里面的xxx=>xx>yy这些到底是怎么用的?依赖倒置原则的实现也会在本篇幅的最后来粗略的讲解一下。
本篇没有核心的主...
分类:
Web程序 时间:
2014-06-04 16:21:13
阅读次数:
244
最近一个项目中要点击WEB页面上的链接启动自己编写的程序,而且还要接收参数,google了1.5小时,终于初步试验通过了。尝试google了:web send
message windows form, bs call cs program, custom protocol...多个关键字组合,发现...
分类:
Web程序 时间:
2014-06-04 16:18:01
阅读次数:
321
One reason to use the wrapper objects is when
you want to augment the value and persist state. Because primitives are not
objects, they cannot be augm...
分类:
移动开发 时间:
2014-06-03 16:20:47
阅读次数:
345
struts就是充当拦截器(过滤器)的作用。在web.xml配置过滤器, 1 package
cn.itcast.framework.core; 2 3 import java.io.IOException; 4 import
java.lang.reflect.Method; 5 im...
分类:
其他好文 时间:
2014-06-03 14:33:00
阅读次数:
294
pack:数据装入一个二进制字符串http_build_query: 将数组转化成URL
GET参数的形式。get_class:返回对象的类名,注:即使是在父类方法中调用也是返回子类的类名。get_parent_class:返回对象或类的父类名。call_user_func:调用第一个参数所提供的用...
分类:
Web程序 时间:
2014-06-02 19:17:03
阅读次数:
310
占没有查到替换的方法,先记着!The method
startManagingCursor(Cursor) from the type Activity is deprecatedThe constructor
SimpleCursorAdapter(Context, int, Cursor, St...
分类:
移动开发 时间:
2014-06-02 16:05:59
阅读次数:
309
Agile software developmentAgile software
developmentis a group ofsoftware development methodsbased oniterative and
incremental development, in which r...
分类:
其他好文 时间:
2014-06-02 10:18:52
阅读次数:
201
samtools 之前博文已经介绍过一些常用的方法。本篇主要说下如何利用samtools 和
bcftools来call snp。和其他工具一样,bam文件都要经过处理(另见博文)。假如对C17样本进行call snp,
数据为:LC17-1_L002.sorted.rmp.rg.recal.bam...
分类:
其他好文 时间:
2014-06-02 07:29:20
阅读次数:
783
-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8)
把linux系统从中文设置英文字符集后发生以下报错
首先本系统字符集为中文UTF-8
[root@localhost~]#more/etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
修改为英文UTF-8
[root@localhost~]#vim/etc/sysconfig/i..
分类:
其他好文 时间:
2014-06-02 03:24:48
阅读次数:
331