码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
hibernate中写配置文件xxx.hbm.xml时那个成员变量的类型type如何写的问题
hibernate中的类型就是8种基本类型的包装类首字母变为小写,有integer,long,short,float,double,charchter,byte,boolean,当然还包括其他类型如:yes_no,true_false hibernate中的类型的作用是匹配数据库表中字段的类型和Java类中属性的类型不匹配的问题的一种解决方案,比如string完成从java.lang.Strin...
分类:Web程序   时间:2015-06-08 09:52:20    阅读次数:355
1001 - Another A+B
1001 - Another A+BDescriptionGive you an integer a, you are to find two another integers which sum is a....
分类:其他好文   时间:2015-06-08 08:26:05    阅读次数:119
POJ3415:Common Substrings(后缀数组+单调栈)
Description A substring of a string T is defined as: T(i, k)=TiTi+1...Ti+k-1, 1≤i≤i+k-1≤|T|. Given two strings A, B and one integer K, we define S, a set of triples (i, j, k): S = {(i, j, ...
分类:编程语言   时间:2015-06-07 23:41:18    阅读次数:391
[leetcode 9]Palindrome Number
1 题目:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindrome...
分类:其他好文   时间:2015-06-07 21:34:42    阅读次数:123
Java for LeetCode 202 Happy Number
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer...
分类:移动开发   时间:2015-06-07 20:06:50    阅读次数:154
TListBox的项目个数
function TCustomListBox.GetCount: Integer;begin if Style in [lbVirtual, lbVirtualOwnerDraw] then Result := FCount else Result := Items.Count;e...
分类:其他好文   时间:2015-06-07 18:38:22    阅读次数:103
LeetCode172:Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.这道题需要在对数时间内求解阶乘中尾端0的个数。阶乘中0的个数是由各项因子中2和5的个数决定的,又由于阶乘是连续n的数的积,所以2的数目比5的数目多,故0的...
分类:其他好文   时间:2015-06-07 15:53:47    阅读次数:88
URAL 1224. Spiral (规律)
1224. Spiral Time limit: 1.0 second Memory limit: 64 MB A brand new sapper robot is able to neutralize mines in a rectangular region having integer height and width (N and M respectively...
分类:其他好文   时间:2015-06-07 12:37:35    阅读次数:164
自动拆箱,装箱?
自动装箱和自动拆箱是简化了基本数据类型和相对应对象的转化步骤(由java编译器处理)例:Integer a=1;//这就是一个自动装箱,如果没有自动装箱的话,需要这样Integer a=new Integer(1) int b=a;//这就是一个自动拆箱,如果没有自动拆箱的话,需要这样:int b....
分类:其他好文   时间:2015-06-07 12:20:00    阅读次数:131
Intent之对象传递(Parcelable传递对象和对象集合)
接着上一篇文章,下面我们讨论一下如何利用Parcelable实现Intent之间对象的传递 一、实现对象传递 首先创建User.java实现Parcelable接口: package org.yayun.demo; import java.io.Serializable; import android.R.integer; import android.os.Parcel; ...
分类:其他好文   时间:2015-06-07 11:14:38    阅读次数:153
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!