码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
装箱与拆箱
装箱:将基本类型用他们对应的引用类型包装起来 拆箱:将包装类型转换为基本类型 自动拆装箱: Integer i =10; //自动装箱 反编译后代码:integer i = Integer.valueOf(10); int b= i; //自动拆箱 反编译后代码:int b = i.intValue ...
分类:其他好文   时间:2020-03-14 11:09:26    阅读次数:63
MySQL出现警告:Integer display width is deprecated and will be removed in a future release
解决方法:不指定宽度如:INT 后面不要加宽度 Integer display width is deprecated and will be removed in a future release:整数显示宽度已弃用,将在以后的版本中删除 对于整数数据类型如INT [M],M指示显示宽度,对于浮点 ...
分类:数据库   时间:2020-03-13 13:00:59    阅读次数:768
mybatis使用存储过程
mybatis使用存储过程 创建存储过程 mysql CREATE DEFINER= @`localhost select_user_count`(out userCount INTEGER,OUT postCount INTEGER) BEGIN Routine body goes here... ...
分类:其他好文   时间:2020-03-12 18:33:29    阅读次数:45
leetcode 1. Two Sum (java)
1 class Solution { 2 public int[] twoSum(int[] nums, int target) { 3 Map<Integer, Integer> map = new HashMap<>(); 4 for (int i = 0; i < nums.length; i ...
分类:编程语言   时间:2020-03-12 14:41:34    阅读次数:64
每日一题 为了工作 2020 0312 第十题
/** * * 问题: * 最大值减去最小值小于或等于num子数组的数量 * 给定数组arr和整数num,共返回有多少个子数组满足如下情况: * 1.max(arr[i..j])-min(arr[i..j]) <= num * 2.max(arr[i..j])表示子数组arr[i..j]中的最大值 ...
分类:其他好文   时间:2020-03-12 14:23:09    阅读次数:40
java基础-包装类
java中的类把方法和数据链接在一起,构成了包含式的处理单元。java中不能定义基本数据类型对象,为了能将基本类型视为对象处理,并能连接相关的方法,java为每个基本类型提供了包装类,如int型数值的包装类Integer和boolean型数值的包装类Boolean。java是可以直接处理基本数据类型 ...
分类:编程语言   时间:2020-03-12 09:43:45    阅读次数:75
547. Friend Circles
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct ...
分类:其他好文   时间:2020-03-11 12:41:31    阅读次数:74
lintcode入门篇九
413. 反转整数 中文English 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 样例 样例 1: 输入:123 输出:321 样例 2: 输入:-123 输出:-321 class Solution: def reverseInteger(self,n ...
分类:其他好文   时间:2020-03-11 12:38:20    阅读次数:50
课时11:禁用、清理二级缓存,以及整合Ehcache缓存
.1)如何禁用二级缓存 1 在具体要关闭的mapper.xml中的select标签里面填写 <select id="selectStudentById" resultType="student" parameterType="Integer" useCache="false"> select * f ...
分类:系统相关   时间:2020-03-10 20:04:53    阅读次数:103
Leetcode-018-四数之和
和三数之和思路一样,先排序,再双指针。 class Solution { public List<List<Integer>> fourSum(int[] nums, int target) { Arrays.sort(nums); List<List<Integer>> res = new Arr ...
分类:其他好文   时间:2020-03-09 23:54:02    阅读次数:95
共14932条   上一页 1 ... 88 89 90 91 92 ... 1494 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!