Java冷知识 1、Number的Class类不是Integer的Class的父类 2、final的静态的变量第一次访问会是类进行初始化,而fianl的静态常量访问不会使类初始化 3、通过Class.forName("oo.oo.A")得到的Class应用会使该类初始化...
分类:
编程语言 时间:
2015-07-05 13:50:49
阅读次数:
121
Descending OrderDescription:Your task is to make a function that can take any non-negative integer as a argument and return it with it's digits in des...
分类:
其他好文 时间:
2015-07-05 13:45:16
阅读次数:
131
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46762039
Given a sorted integer array without duplicates, return the summary of its ranges.
For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"].
思路:
(1)题意为给定...
分类:
其他好文 时间:
2015-07-05 12:29:55
阅读次数:
148
https://leetcode.com/problems/merge-sorted-array/Merge Sorted ArrayGiven two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted arra...
分类:
编程语言 时间:
2015-07-05 12:19:06
阅读次数:
127
1、包装类Java提倡的万物皆对象,但是数据类型的划分出现了基本数据类型和引用数据类型,那么我们怎么能把基本数据类型称为对象呢?(1)除了Integer和Character定义的名称和对应的基本类型差异大,其他六种都是将首字母大写就可以了。(2)Integer,Byte,Float,Double,S...
分类:
编程语言 时间:
2015-07-05 09:30:29
阅读次数:
149
在尝试使用mybatis的动态sql中遇到这么一个问题, 使用Mybatis查询时,其参数可以是基本数据类型或者像Integer和String这样的简单的数据对象,也可以是复杂对象(一般是指JavaBean)或者map等,当使用基本数据类型...
分类:
其他好文 时间:
2015-07-05 08:25:21
阅读次数:
124
一、SQLite特点Android平台中嵌入了一个关系型数据库SQLite,和其他数据库不同的是SQLite存储数据时不区分类型,例如一个字段声明为Integer类型,我们也可以将一个字符串存入,一个字段声明为布尔型,我们也可以存入浮点数。除非是主键被定义为Integer,这时只能存储64位整数。创...
分类:
数据库 时间:
2015-07-04 21:03:08
阅读次数:
213
The Tower of BabylonTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:224164-bit integer IO format:%lld Java class...
分类:
其他好文 时间:
2015-07-04 20:59:50
阅读次数:
147
A Spy in the MetroTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVA. Original ID:102564-bit integer IO format:%lld Java class ...
分类:
其他好文 时间:
2015-07-04 20:56:11
阅读次数:
128
class Solution:
# @param {character[][]} matrix
# @return {integer}
def maximalSquare(self, matrix):
if matrix == []: return 0
m, n = len(matrix), len(matrix[0])
...
分类:
其他好文 时间:
2015-07-04 18:29:27
阅读次数:
191