java - animeshtrivedi/notes GitHub Wiki
public String firstX(int items){
StringBuilder sb = new StringBuilder();
for(int i = 0; i < items; i++) {
sb.append(String.format("0x%02x", this.arr[i])+ " ");
}
return sb.toString();
}
jcmd <pid> GC.run
https://stackoverflow.com/questions/3523837/how-do-you-force-garbage-collection-from-the-shell https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr006.html
https://www.reddit.com/r/programming/comments/1ns6ae/maven_is_broken_by_design/ https://johlrogge.wordpress.com/2010/12/14/why-i-dont-like-maven/ https://news.ycombinator.com/item?id=5105164 https://stackoverflow.com/questions/861382/why-does-maven-have-such-a-bad-rep
System.out.println(NumberFormat.getNumberInstance(Locale.US).format(35634646));
https://stackoverflow.com/questions/7070209/converting-integer-to-string-with-comma-for-thousands