- 博客(5)
- 收藏
- 关注
转载 2019/08/25 leetcode
2019/08/25: L230, L226, L18, L234, L23 1. L230 Kth smallest element in BST 借助 Stack 或 LinkedList inorder traveresal, LinkedList会更快 ArrayList, LinkedList, Vector, Stack https://blog.csdn.net/i...
2019-08-26 11:21:00
65
转载 SwingUtilities.invokeLater 解决DR project的bug:多线程下swing组件不稳定
SwingUtilities.invokeLater SwingUtilities.invokeLater(new Runnable() { public void run() { textControl.append(String.valueOf((char)b)); } }); --------- Thi...
2019-04-04 12:44:00
146
转载 Java String, StringBuilder, StringBuffer
整理自stackoverflow: Mutability Difference: Stringisimmutable, if you try to alter their values, another object gets created, whereasStringBufferandStringBuilderaremutableso they can chang...
2019-03-17 12:55:00
74
转载 Java String
部分整理自Stack Overflow: Java String: length() indexOf() isEmpty() charAt(i) startsWith() —used for checking prefix of a String,returns a boolean value true or false based on whether the sp...
2019-03-17 12:30:00
87
转载 Relationship between hashCode and equals method in Java
转自stackoverflow: Q: I read in many places saying while overrideequalsmethod in Java, should overridehashCodemethod too, otherwise it is "violating the contract". But so far I haven't faced ...
2019-03-17 12:18:00
135
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人