- 博客(2)
- 收藏
- 关注
原创 LeetCode记录总结
LeetCode记录总结 本文章主要记录LeetCode刷题学到的知识 242.Valid Anagram 题目: Given two strings s and t , write a function to determine if t is an anagram of s. 我的解法: class Solution { public boolean isAnagram(String s, String t) { if ((s.isEmpty() && !t.
2020-08-15 11:22:45
1110
原创 JDB debug
JDB debug 使用如下命令启动进程,开启jvm的debug模式,端口可自定义,默认为5005 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 使用如下命令,将jdb debugger附到已经运行的jvm上 jdb -attach 5005 使用如下命令可设置断点 stop at com.gmy.MyClass:22 (在MyClass的第22行设置断点) stop in java.lang.Str
2020-07-25 16:00:37
359
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅