The graphical user interface for an Android app
is built using a hierarchy ofViewandViewGroupobjects.Viewobjects are usually UI
widgets such asbuttons...
分类:
移动开发 时间:
2014-06-16 10:43:38
阅读次数:
268
AnIntentis an object that provides runtime
binding between separate components (such as two activities).
Theintentrepresents an app’s "intent to do so...
分类:
移动开发 时间:
2014-06-16 10:00:27
阅读次数:
248
order by col (asc/desc) NULLS first 不管col如何排序
col的null(空值) 总是在最前order by col (asc/desc) NULLS last 不管col如何排序 col的null(空值)
总是在最后
分类:
数据库 时间:
2014-06-16 07:29:27
阅读次数:
281
可能遇到的错误 :路径错误 java.lang.IllegalArgumentException:
is == null没有设置setInput() org.xmlpull.v1.XmlPullParserException: setInput() must
be called first. (.....
分类:
其他好文 时间:
2014-06-13 20:32:49
阅读次数:
408
Given an unsorted integer array, find the first
missing positive integer.For example, Given [1,2,0] return 3, and [3,4,-1,1]
return 2.Your algorithm s...
分类:
其他好文 时间:
2014-06-13 20:25:38
阅读次数:
241
LINQ to
SQL语句(1)之WhereWhere操作适用场景:实现过滤,查询等功能。说明:与SQL命令中的Where作用相似,都是起到范围限定也就是过滤作用的,而判断条件就是它后面所接的子句。Where操作包括3种形式,分别为简单形式、关系条件形式、First()形式。下面分别用实例举例下:1...
分类:
数据库 时间:
2014-06-13 19:04:32
阅读次数:
348
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the ...
分类:
编程语言 时间:
2014-06-12 17:38:49
阅读次数:
323
策略模式(Strategy
Pattern):定义了算法族,分别封装起来,让它们之间可以互相替换,此模式让算法的变化独立于使用算法的客户。 设计原则
1.找出应用中可能需要变化之处,把它们独立出来,不要和那些不需要变化的代码混在一起。 2.针对接口编辑,而不是针对实现编程。 3.多用组合,少用继承。...
分类:
其他好文 时间:
2014-06-12 14:22:35
阅读次数:
292