码迷,mamicode.com
首页 >  
搜索关键字:single    ( 5020个结果
LeetCode【2】Add two numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-04-21 22:22:16    阅读次数:128
UVA 10539 Almost Prime Numbers( 素数因子)
Problem AAlmost Prime NumbersTime Limit: 1 secondAlmost prime numbers are the non-prime numbers which are divisible by only a single prime number. In ...
分类:其他好文   时间:2015-04-21 20:42:15    阅读次数:104
Xcode6 国际化
Xcode6 国际化(1) 新建一个Single View app模版项目,命名为LocalizationTest1、建立strings文件,命名为Localization.strings2、点击刚刚创建的Localization.strings文件,展开右侧栏,点击Localizations按钮3...
分类:其他好文   时间:2015-04-21 20:09:47    阅读次数:124
基于Ubuntu14.10的Hadoop+HBase环境搭建
本篇博文中谈及的Hadoop和HBase都是单机版,简单了解。首先在Ubuntu上搭建Hadoop开发环境,主要参考另外一篇博客,仔细照做并解决出现的问题即可。地址:http://www.powerxing.com/install-hadoop-2-4-1-single-node/这篇文章的思路很清...
分类:系统相关   时间:2015-04-21 17:22:45    阅读次数:157
php中的单引号与双引号详解
一、引号定义字符串 在Php中,通常一个字符串被定义在一对引号中,如:'I am a string in single quotes'"I am a string in double quotes" Php语法分析器是用成对的引号来判断一个字符串的。因此,所有字符串必须使用同一种单或者双引号来定.....
分类:Web程序   时间:2015-04-21 12:40:11    阅读次数:178
hadoop+hbase
hadoop的配置见下面这篇文章http://www.powerxing.com/install-hadoop-2-4-1-single-node/Hadoop安装教程_单机/伪分布式配置_Hadoop2.4.1_Ubuntu14.04 2014-08-09 (updated: 2014-12-30...
分类:其他好文   时间:2015-04-20 23:57:12    阅读次数:209
java 单例模式
参考:http://blog.csdn.net/kufeiyun/article/details/6166673private static Single instance = nullpublic synchronized static Single getInstance(){ if(ins.....
分类:编程语言   时间:2015-04-20 20:45:21    阅读次数:103
代码重构之单一职责原则在实际中使用
单一职责原则:Single Responsibility Principle,以下举例说明我在代码重构方面对单一职责原则的使用。  1、单行代码职责单一 private double GetSubtotalAmount(doube singlePrice,int productCount) { return singlePrice*productCount; } 上文中的retu...
分类:其他好文   时间:2015-04-19 18:02:24    阅读次数:167
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-04-19 17:48:57    阅读次数:127
超简单的listview单选模式SingleMode(自定义listview item)
来源:https://stackoverflow.com/questions/8337180/custom-single-choice-listview/12823457#12823457 1.在listview item里面设置 <RadioButton android:id="@+id/radio1" android:checked="false" a...
分类:其他好文   时间:2015-04-18 14:37:42    阅读次数:169
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!