摘要:
@Data public class xxxQuery{ //字符串转Date @DateTimeFormat(pattern = "<dateformate>") private Date date; } @Data public class xxxVO{ //Date转字符串 @JsonForm 阅读全文
摘要:
使用迭代器遍历ArrayList并尝试删除数据: public class CollectionApp { public static void main(String[] args) { List<Integer> list = new ArrayList<>(); list.add(0); li 阅读全文
摘要:
Thread.join中使用Object.wait实现: //java.lang.Thread public final synchronized void join(long millis) throws InterruptedException { long base = System.curr 阅读全文