自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 Integer

max() 1 public static int max(int a, int b) { 2 return Math.max(a, b); 3 } 4 5 6 /** 7 *Math 的max方法 8 */ 9 public static int max(int a, int b) { 10 ...

2019-03-19 00:02:00 76

转载 Object

Object类有以下几个方法 equals() 1 /** 2 * Indicates whether some other object is "equal to" this one. 3 * <p> 4 * The {@code equals} method implements an equivalence rel...

2019-03-18 22:25:00 105

转载 《Java编程思想》阅读笔记 —— == 与 != 操作符

对于对象,== 与 !=比较的是引用;对于基本类型,比较的是内容。 public class Equivalence(){ public static void main(String[] args){ Integer n1 = new Integer(47); Integer n2 = new Integer(47); ...

2019-03-05 23:31:00 99

转载 JDK源码阅读(1.8) —— String

String类有两个私有的变量,字符数组value,和整型变量hash(默认为0)。 1 /** The value is used for character storage. */ 2 private final char value[]; 3 4 /** Cache the hash code for the string */ 5 ...

2019-03-05 22:20:00 75

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除