摘要: 集合类练习 1 package com.example.demo.collection; 2 3 import org.junit.Test; 4 5 import java.util.*; 6 7 public class CollectionTest { 8 @Test 9 public voi 阅读全文
posted @ 2020-02-09 21:33 Emotiona°小吃货 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 常用时间工具类 import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Date;/** * @author: Lambert * @create: 2019-12-29 22:09 */p 阅读全文
posted @ 2019-12-29 22:42 Emotiona°小吃货 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 简约版本RocketMQ消费者: pom引入依赖: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/ 阅读全文
posted @ 2019-07-27 11:58 Emotiona°小吃货 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 方法类: 测试方法: 阅读全文
posted @ 2019-07-16 00:50 Emotiona°小吃货 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 面向对象简版 package com.example.learn.Student; public class StudentTest { public static void main(String[] args) { Student[] stu = new Student[20]; for (in 阅读全文
posted @ 2019-07-14 22:27 Emotiona°小吃货 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Arrays常用方法: 阅读全文
posted @ 2019-07-14 13:22 Emotiona°小吃货 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 二分法: 冒泡排序 阅读全文
posted @ 2019-07-13 22:28 Emotiona°小吃货 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 数组复制: 字符串类型数组复制: 数组的翻转操作: 方法二: 线性查找数组: 阅读全文
posted @ 2019-07-13 17:25 Emotiona°小吃货 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 二维数组: 杨辉三角解题 完整的杨辉三角解题: 数组运算 用数组求出最大值最小值平均数: 二维数组和计算: 阅读全文
posted @ 2019-07-07 18:29 Emotiona°小吃货 阅读(120) 评论(0) 推荐(0) 编辑
摘要: RabbitMQ消费者Demo 备注: 只需要修改queues <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org 阅读全文
posted @ 2019-07-07 12:59 Emotiona°小吃货 阅读(258) 评论(0) 推荐(0) 编辑