码迷,mamicode.com
首页 >  
搜索关键字:integer division    ( 15415个结果
基本数据类型&包装类&String之间的相互转换
1.包装类的种类 2. 转换图解 3.具体代码 public class JunitTest { //基本数据类型 > 包装类 :装箱 @Test public void test1() { //调用包装类的 构造器 int i =10; Integer int1 = new Integer(i); ...
分类:其他好文   时间:2021-01-19 11:59:54    阅读次数:0
ECNU 1000 A + B Problem
ECNU 1000 A + B Problem 链接 https://acm.ecnu.edu.cn/problem/1000 题目 单点时限: 1.0 sec 内存限制: 256 MB 输入格式 Two integer a,b(<=10) . Process to end of file. 输出格 ...
分类:其他好文   时间:2021-01-19 11:49:06    阅读次数:0
Java泛型
Java泛型 Java1.5中引入泛型,允许在定义类、接口时,通过一个标识来表示类中某个属性的类型或是某个方法的返回值及参数类型。类型参数在使用时确定。 不使用泛型的问题 类型不安全 强制类型转换出错 集合中使用泛型 ArrayList<Integer> list = new ArrayList<> ...
分类:编程语言   时间:2021-01-18 11:30:29    阅读次数:0
Java 反射修改类的常量值、静态变量值、属性值
前言 有的时候,我们需要修改一个变量的值,但变量也许存在于 Jar 包中或其他位置,导致我们不能从代码层面进行修改,于是我们就用到了下面的场景,通过反射来进行修改变量的值。 定义一个实体类 class Bean{ private static final Integer INT_VALUE = 10 ...
分类:编程语言   时间:2021-01-18 11:05:15    阅读次数:0
Integer用==进行值比较,什么时候相等,什么时候不等?
package mytest; public class TestInteger { public static void main(String args[]) { Integer a =127; Integer b =127; System.out.println(a==b); a=128; b ...
分类:其他好文   时间:2021-01-13 11:22:55    阅读次数:0
学习python -- 第002天
一、数据类型 ·整数类型 ·英文为integer,简写为int,·整数的不同进制表示方式·十进制→默认的进制·二进制〉以0b开头·八进制→以0o开头·十六进制→0x开头 1 # 2 # @author:浊浪 3 # @time: 2021/1/11 19:00 4 5 #整数的表示 6 n1 = 1 ...
分类:编程语言   时间:2021-01-13 11:14:41    阅读次数:0
0088. Merge Sorted Array (E)
Merge Sorted Array (E) 题目 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements in ...
分类:其他好文   时间:2021-01-13 11:10:22    阅读次数:0
[Leetcode]1. Two Sum
题目描述 Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that eac ...
分类:其他好文   时间:2021-01-13 11:07:09    阅读次数:0
cratedb 自定义函数
cratedb 支持自定义函数,但是当前只有js 引擎(基于graalvm),而且需要企业license (当然我们可以使用免费的3节点的集群) 自定义函数格式 CREATE [OR REPLACE] FUNCTION function_name ( [ [arg_name] arg_type ] ...
分类:数据库   时间:2021-01-12 11:24:26    阅读次数:0
R split column
ROW_ORDER<-data.frame("Factory_Order"=as.integer(PHEAT_CLU$tree_row$order), "ori_Factory_Names"=as.character(PHEAT_CLU$tree_row$labels)) ROW_ORDER$ORD ...
分类:其他好文   时间:2021-01-12 11:10:14    阅读次数:0
15415条   上一页 1 ... 15 16 17 18 19 ... 1542 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!