码迷,mamicode.com
首页 >  
搜索关键字:art    ( 45817个结果
线程的资源同步问题
卖出的票为负数的情况: class MyThread22 implements Runnable { private int ticket = 10; public void run() { for (int i = 0; i 0) { try { Thread.sle...
分类:编程语言   时间:2014-08-06 21:48:12    阅读次数:236
Customer Introduction to ORA-7445 Errors (文档 ID 211909.1)
In this DocumentPurposeScopeDetailsReferencesApplies to:Oracle Database - Enterprise Edition - Version 7.0.16.0 to 11.2.0.2 [Release 7.0 to 11.2] Info...
分类:其他好文   时间:2014-08-06 21:44:42    阅读次数:646
RequireJs入门1
RequireJs入门随着Javascript在开发中占得比重越来越大,就需要一个团队来分工、协作,为了大家的代码可以更好的相互使用,这个时候模块化编程 就成为一个迫切的需求了。但是Javascript本身不是模块化的语言。它不支持类,更别说模块了。既然模块如此重要,那团队开发中就应该去制定一种规范...
分类:Web程序   时间:2014-08-06 21:43:22    阅读次数:266
基于CAS线程安全的计算方法 java并发编程的艺术上的一个案例
package?thread; import?java.util.ArrayList; import?java.util.List; import?java.util.concurrent.atomic.AtomicInteger; /** ?*?@author??changxiangxiang ?*?@date?2014年8月6日?下午3:25:12 ?...
分类:编程语言   时间:2014-08-06 19:35:52    阅读次数:260
extjs 实现下载功能
纠结了好久,终于实现了extjs的下载功能,其实下载的原理很简单,就是给界面一个按钮,让按钮触发后台action,将地址返回给前台。具体实现如下。 //extjs代码,页面 var btn_out_user = new Ext.Button({ ...
分类:Web程序   时间:2014-08-06 19:34:32    阅读次数:283
oracle 数据库主键自动增长sql
oracle主键自增...
分类:数据库   时间:2014-08-06 19:23:22    阅读次数:266
awk按照奇数行和偶数行进行处理
取奇数行 awk 'NR%2' file  MR是行号,行号对2取模,奇数的结果为1,所以打印 如果还不懂看这个你就懂了 awk '{if (NR%2==1) print $0}'  file...
分类:其他好文   时间:2014-08-06 19:20:12    阅读次数:278
solr查询语法
. 首先假设我的数据里fields有:name, subbranch, tel, address 预设的搜寻是name这个字段, 如果要搜寻的数据刚好就是 name 这个字段,就不需要指定搜寻字段名称.  2. 查询规则:  如欲查询特定字段(非预设字段),请在查询词前加上该字段名称加 “:” (不包含”号) 符号,  例如: address:台北台北市中正区重庆南路一段xxx号 tel:2...
分类:其他好文   时间:2014-08-06 19:14:12    阅读次数:209
Add more security in Visual Studio 2012
Add more security in Visual Studio 2012...
分类:其他好文   时间:2014-08-06 19:12:52    阅读次数:190
CodeForces - 38E Let's Go Rolling!
Description On a number axis directed from the left rightwards, n marbles with coordinates x1,?x2,?...,?xn are situated. Let's assume that the sizes of the marbles are infinitely small, that is ...
分类:其他好文   时间:2014-08-06 19:11:42    阅读次数:310
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!