摘要: 1、正则标记(背) 1、替换和拆分 public class RegexDemo1 { public static void main(String[] args) { String str1 = "ojd02n9dkas333-222-//"; String regex = "[^a-z]"; S 阅读全文
posted @ 2020-06-29 17:48 橘子酱ing 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 一、回顾Arrays类(了解) import java.util.Arrays; public class ArraysDemo1 { public static void main(String[] args) { int [] arr = new int[]{5,3,2,4,3,6}; Arra 阅读全文
posted @ 2020-06-29 15:49 橘子酱ing 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 一、Date类 1、Date与long之间的转换 import java.util.Date; public class DateDemo1 { public static void main(String[] args) { long cur = System.currentTimeMillis( 阅读全文
posted @ 2020-06-29 11:50 橘子酱ing 阅读(176) 评论(0) 推荐(0) 编辑