码迷,mamicode.com
首页 >  
搜索关键字:ugly number    ( 27156个结果
java 线程(三) :对象的共享
可见性:      我们希望确保一个线程修改了对象的状态后,其他线程能够看到发生的状态变化。      例:在没有同步的情况下共享变量 public class NoVisibility { private static boolean ready; private static int number; public static class Rea...
分类:编程语言   时间:2014-08-24 15:31:02    阅读次数:190
mybatis使用generator自动生成代码时的类型转换
使用mybatis的generator自动生成代码,但是oracle数据库中number(6,2)总是自动转成BigDecimal,我想要转成的是float类型 这样就写了一个类型转换器,需要继承JavaTypeResolver接口 然后在mybaties配置文件generatorConfig.xml中类型转换配置位置添加上即可 类型转换器MyJavaTypeRe...
分类:其他好文   时间:2014-08-24 11:43:12    阅读次数:215
POJ1236 Network of Schools 【强连通分量Garbow】
Network of Schools Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 11180   Accepted: 4448 Description A number of schools are connected to a computer netwo...
分类:Web程序   时间:2014-08-24 09:10:22    阅读次数:309
[LeetCode] Letter Combinations of a Phone Number(bfs)
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2014-08-23 18:53:01    阅读次数:180
ExtJS学习-----------Ext.Number,ExtJS对javascript中的Number的扩展
ExtJS学习-----------Ext.Object,ExtJS对javascript中的Number的扩展...
分类:编程语言   时间:2014-08-23 17:48:31    阅读次数:287
闲云控制台(二)查看文件功能,支持十六进制查看文件
命令处理区加入 int Look_File(pCommand b) { int _out_style = 1; int _line_number = 1; int _len_argu = strlen(b->Cmd_Arguments); while (--_len_argu >= 0) { switch (b->Cmd_Arguments[_len_argu]) { ca...
分类:其他好文   时间:2014-08-23 17:45:41    阅读次数:192
LeetCode——3Sum Closest
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exact...
分类:其他好文   时间:2014-08-23 16:51:01    阅读次数:184
python——内置对象
python的内置对象对象类型常量示例/用法Number(数字)3.14159, 1234, 999L 3+4jString(字符串)'spam', "guido's"List(列表)[1,[2, 'Three'],4]Dictionary(字典){'food':'spam', 'taste':'y...
分类:编程语言   时间:2014-08-23 16:41:51    阅读次数:295
js变量以及其作用域详解
一、变量的类型 Javascript和Java、C这些语言不同,它是一种无类型、弱检测的语言。它对变量的定义并不需要声明变量类型,我们只要通过赋值的形式,可以将各种类型的数据赋值给同一个变量。例如: i=100;//Number类型 i="variable";//String类型 i={x:4}.....
分类:Web程序   时间:2014-08-23 11:14:00    阅读次数:255
读书笔记-----Java并发编程实战(二)对象的共享
1 public class NoVisibility{ 2 private static boolean ready; 3 private static int number; 4 private static class ReaderThread extends Thread...
分类:编程语言   时间:2014-08-23 11:06:50    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!