码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
东软培训-002
数据库操作 实体bean package?org.mo.model; public?class?UserModel?{ private?Integer?id; private?String?name; private?Integer?age; public?Integer?getId()?{ return?id; } publ...
分类:其他好文   时间:2014-12-22 16:26:31    阅读次数:243
Redis事务
事务 事务概念 redis中的事务是一组命令的集合。一个事务中的命令要么都执行,要么都不执行。 redis> MULTI OK redis> CMD1 QUEUED redis> CMD2 QUEUED ... redis> EXEC 1) (integer) 1 2) (integer) 1 如果在发送EXEC之前,客户端断线了,那么redis会清空事务队列,...
分类:其他好文   时间:2014-12-22 12:57:58    阅读次数:133
Reverse Integer
题目摘要:Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321 这道题不算难,主要是要考虑"反转后的值可能越界"这一种情况。(此题起初设计时,未考虑这种情况,因此网上很多旧....
分类:其他好文   时间:2014-12-22 12:42:55    阅读次数:134
【LeetCode】String to Integer (atoi)
String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, plea...
分类:其他好文   时间:2014-12-22 12:40:48    阅读次数:129
Struts2之Ognl基本操作、过滤、投影解读
一、学习案例:关于上一章的《Hibernate之Ognl详解》的演示项目很多朋友说后面的不是很了解。这一章就暂且做下讲解。   a)根对象就是我们通过context.setRoot(...);设置的对象,我们可以设置多个。 b)#,如果不是根对象就用#取对象,否则直接取对象。 c)调用静态方法需要使用@...@...。如:@java.lang.Integer@toBinaryString(...
分类:其他好文   时间:2014-12-22 11:14:23    阅读次数:188
【leetcode】String to Integer (atoi)
String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, plea...
分类:其他好文   时间:2014-12-21 23:28:18    阅读次数:224
leetcode------Merge Sorted Array
标题:Merge Sorted Array通过率:31.1%难度:简单Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough s...
分类:其他好文   时间:2014-12-21 23:22:34    阅读次数:249
LeetCode Roman to Integer 罗马字符转数字 解题报告
LeetCode Roman to Integer 解题报告: 把一个字符串形式的罗马字符串转为数字。...
分类:其他好文   时间:2014-12-21 22:13:24    阅读次数:193
[leetcode]N-Queens
问题描述: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens p...
分类:其他好文   时间:2014-12-21 22:12:21    阅读次数:159
【LeetCode】Palindrome Number
Palindrome NumberDetermine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers b...
分类:其他好文   时间:2014-12-21 22:00:15    阅读次数:131
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!