- 博客(3)
- 资源 (33)
- 收藏
- 关注
原创 java实体类重写toString()方法
实体类一般需要重写toString()方法,在打印日志时输出参数的信息。但是如果手动拼接实体类里每个属性和属性值又比较麻烦,以下是常用的几种方法。利用Apache工具类ToStringBuilder //方法1 输出对象名称简写 属性 属性值(我常用这种方式)@Overridepublic String toString() { return ToStringBuilde
2018-01-21 16:53:45 6703
原创 【leetcode】_760FindAnagramMap
question:* Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements in A.* We want to find an index mapping P, from A to B.
2018-01-13 19:16:11 1573
原创 【leetcode】728 Self Dividing Numbers
quersion:/** * A self-dividing number is a number that is divisible by every digit it contains. * For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0.
2018-01-13 19:13:54 1518
Java 并发编程实战(英文版)
2017-01-07
Java RESTful Web Service实战 高清完整.pdf版下载
2017-01-01
Java RESTful Web Service实战 [韩陆著]
2016-12-31
大型网站技术架构:核心原理与案例分析+李智慧
2016-12-31
Spring 3.x 企业应用开发实战】完整高清扫描版).pdf
2016-07-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人