`
lionheart
  • 浏览: 91230 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
the difference between prototype property and [[prototype]] which constructs the chain of prorotype each object has a inner property called '[[prototype]] ', whose value is null or point to some object. This property is visible only for JS engine.(in firefox, this property can visited by name ' ...
At first, let's look the typical class structure diagram of composite pattern:   Composite pattern is very suitable for Tree structure. The picture showed above defines a Interface Node and two sub concrete tree types  : Leaf  and Branch.  Branch may contains sub branch and leaf. The sample codes f ...
These contents are refered from a pdf file named 'best practices for web form design '. information Layout top aligned : for reduced completion times & familiar data input. right aligned : when vertical screen space is a constraint. left aligned : for unfamiliar, or advanced data entry. R ...
At first, lst's understand some technologies used in mysql transaction model: 1. Next-Key Locking http://dev.mysql.com/doc/refman/5.0/en/innodb-next-key-locking.html 写道 InnoDB performs the row-level locking in such a way that when it searches or scans an index of a table, it sets shared or exclusiv ...
Three jsp directives 1. the page directive first, refere the explaination of it in jsp specificiation: the page directive defines a number of page dependent properties and communicates these to the JSP container.  this directive is so common that always can  be see in the top of JSP pages, and us ...
in many j2ee applications, especially which developed by light-weight framework,such as struts, we can easily see the url pattern as  follows : 写道 http://localhost:8080/app/module/action.do?id=x&  In contrast, the url pattern used by ruby on rails applications are totally different: 写道 http://lo ...
问题描述如下: 引用两个实体 Parent(P) 和 Child(C)之间是1:N的关系,现要求符合指定条件的P及所包 含的C 采用hibernate中的Criteria来实现此功能的代码如下: Criteria criteria = this.getCriteria(Parent.class); //连接关联子对象child,且指定 ...
什么是序列化 java中的序列化(serialization)机制能够将一个实例对象的状态信息写入到一个字节流中,使其可以通过socket进行传输、或者持久化存储到数据库或文件系统中;然后在需要的时候,可以根据字节流中的信息来重构一个相同的对象。序列化机制在java中有着广泛的应用,EJB、RMI等技术都是以此为基础的。 正确使用序列化机制 一般而言,要使得一个类可以序列化,只需简单实现java.io.Serializable接口即可。该接口是一个标记式接口,它本身不包含任何内容,实现了该接口则表示这个类准备支持序列化的功能。如下例定义了类Person,并声明其可以序列化。 public ...
Oracle 中有两种主要的索引机制:B-树索引(B-tree indexes) 和 位图索引(bitmap indexes),其它的一些索引,如位图连接索引(bitmap join index)、基于函数的索引(function-based indexes)、反转键索引(reverse key indexes)等,都是基于这两种索引的变体。本文主要介绍这两种主要的索引机制。 一 基础知识 1. 数据块(data bolck)     数据块是Oracle中管理数据文件中存储空间的单位,是数据库使用的I/O的最小单位。Oracle中所有的逻辑数据库结构,如表、索引等的数据都物理地存储在数据块中。 ...
原文地址:http://www.orafaq.com/node/1403 What is an Index? This is covered in the Oracle Concepts manual, of course, but here's the Cliff Notes version. Blocks First you need to understand a block. A block - or page for Microsoft boffins - is the smallest unit of disk that Oracle will read or write. ...
JDK的java.lang.Object类中实现了equals函数,其定义说明如下: 引用     public boolean equals(Object obj)          Indicates whether some other object is "equal to" this one.          The equals method implements an equivalence relation on non-null object references:           [list=5]           It  is reflex ...
Global site tag (gtag.js) - Google Analytics