`
mindfocus
  • 浏览: 17000 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表

架构与模式文选

UML colors Software design pattern Apache Isis:领域驱动设计的Java框架 林仕鼎谈架构设计与架构师

关于程序员

程序员的本质

正则表达式文选

Java正则表达式教程 揭开正则表达式的神秘面纱 Sample Regular Expressions Regexp Syntax Summary RegexTester is an Eclipse plugin which can be used to easily test regular expressions

Eclipse文选

KTable: Custom drawn table for SWT GUI design 基于控制反转创建 SWT 界面 Eclipse Color Themes SWT/XML is a lightweight XML markup language for describing Eclipse SWT / RCP user interfaces

并发编程文选

Doug Lea's Home Page 并发编程网 并发框架Disruptor 并发与不可变性 Java SE 7的新并发特性
1) John McCarthy's Home Page http://www-formal.stanford.edu/jmc/ 2) Lisp之根源 http://daiyuwen.freeshell.org/gb/rol/roots_of_lisp.html#foot84 约翰麦卡锡于1960年发表了一篇非凡的论文,他在这篇论文中对编程的贡献有如 欧几里德对几何的贡献.1 他向我们展示了,在只给定几个简单的操作符和一个 表示函数的记号的基础上, 如何构造出一个完整的编程语言. 麦卡锡称这种语 言为Lisp, 意为List Processing, 因为他的主要思想之一是用一种简单的数据结 ...
Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. 一)Memcached服务器 从http://www.splinedancer.com/memcached-win32/下载安装文件并解压到c:\memcached;在Windows命令行控制台(cmd)界面上,进入cd c:\m ...
The Concurrency Utilities packages provide a powerful, extensible framework of high-performance threading utilities such as thread pools and blocking queues. This package frees the programmer from the need to craft these utilities by hand, in much the same manner the Collections Framework did for dat ...
The collections framework is a unified architecture for representing and manipulating collections, allowing them to be manipulated independently of the details of their representation. It reduces programming effort while increasing performance. It allows for interoperability among unrelated APIs, red ...
1) File and device I/O 文件与设备的I/O 2) Object serialization 对象序列化 3) Buffers for data of primitive types 原生态数据的缓存 4) Character-set encoders and decoders字节集的编码与解码 5) Channels, a new primitive I/O abstraction 通道,一个新的IO抽象 6) A file interface that supports locks and memory mapping 支持锁和内存映射的文件接口 7) A multipl ...
    递归,常出现在声明式范式的语言中,用来实现过程迭代的语义;正如循环,常出现在命令式的语言中,用来实现数据迭代的语义。递归一般有两种:尾递归(tail recursion)与非尾部递归(non-tail recusion),后者因为需要保存大量的临时变量,一般不被采用。下面使用不同的语言写一个常见的例子,求阶乘。 1)使用Java求阶乘 // 非尾递归 public class Math { public static int fac(int n) { return n == 0 ? 1 : fac(n-1) * n; } public static vo ...
class A { public void method() { System.out.println("A's method is running.");; } } class B { public void method() { System.out.println("B's method is running.");; } } class Factory { @SuppressWarnings("unchecked") public static <T> T g ...
一、序列化是什么? 序列化支持对象编码为字节流和并从中获得对象。序列化支持对象图像从流中重构。用于轻量级的持久化和通过Socket和RMI的通信。默认的对象编码方法保护私有和临时数据,支持类的演变。一个类可以实现自己的外部编码方法,然后唯一地负责外部格式。 Object Serialization supports the encoding of objects and the objects reachable from them, into a stream of bytes. Serialization also supports the complementary reconstruct ...
重温了一下泛型,心得记录如下。 1)什么是泛型?    泛型(Generics)是相对于类型(Type)而言的,泛型是对类型的抽象。泛型最常见的应用是在集合或容器中,即在泛化的数据结构或算法中使用。泛型的命名约定一般是单个大写字母,并用一对尖括号<>括在其中。泛型的作用之一,是可以在编译时而不是运行时检查类型转换的错误,即消除类型转换,使得代码更清晰,更健壮。 效果之一:在空间上,通过泛型引入的类型检查机制可以精确地定位错误的位置,而无泛型时类型转换的错误可能远离代码中断运行的现场。 Debugging may be difficult, as the point in the ...
1) Return the length of a string var txt = "Hello World!"; document.write(txt.length); 2) Style strings var txt = "Hello World!"; document.write("<p>Big: " + txt.big() + "</p>"); document.write("<p>Small: " + txt.small() ...
Global site tag (gtag.js) - Google Analytics