发布时间:2012-12-17 20:07:13
在javascript 中没有能够返回特定类型名的函数 如一个对象 console.log(obj);得到的是[object HtmlTableCellElement] 如果想要一个函数能够返回HtmlTableCellElement js中默认没有这样的函数 可以自己实现一个下面是我实现的一个可作参考: 点击(此处)折叠或打开var getObjectClass = function (obj) { if (obj && ob......【阅读全文】
发布时间:2012-12-12 15:18:15
@javax.persistence.TableGenerator( name="my_table_gen",//table生成器本身的名字 table="gen_table",//生成器产生的表的名字 pkColumnName = "pk_key", //表中的主键的字段名 Name of the primary key column in the table. valueColumnName = "pk_value", pkColumnVa......【阅读全文】
py超级菜鸟2013-03-10 23:26
Within a character list, a "range expression" consists of two
characters separated by a hyphen. It matches any single character that
sorts between the two characters, using the locale's collating sequence
and character set. For example, in the default C locale, `[a-dx-z]' is
equivalent to `[abcdxyz]'. Many locales sort characters in dictionary
order, and in these locales, `[a-dx-z]' is typically not equivalent to
`[abcdxyz]'; instead it might be equivalent to `[aBbCcDdxXyYz]', for
example. To obtain the traditional interpretation of bracket
expressions, you can use the C locale by setting the `LC_ALL'
environment variable to the value `C'.