随笔分类 - Java
摘要:https://stackoverflow.com/questions/16761227/how-to-make-intellij-idea-insert-a-new-line-at-every-end-of-file How to make IntelliJ IDEA insert a new l
阅读全文
摘要:https://sourceforge.net/projects/ireport/ NOTE: iReport/Jaspersoft Studio Support Announcement: As of version 5.5.0, Jaspersoft Studio will be the off
阅读全文
摘要:https://www.geeksforgeeks.org/generics-in-java/ Generics in Java Read Discuss Courses Practice Generics means parameterized types. The idea is to allo
阅读全文
摘要:https://www.geeksforgeeks.org/arrays-sort-in-java-with-examples/ Array class is a class containing static methods that are used with arrays in order t
阅读全文
摘要:https://www.geeksforgeeks.org/how-to-iterate-hashmap-in-java/ HashMap is a part of Java’s collection providing the basic implementation of the Map int
阅读全文
摘要:https://www.geeksforgeeks.org/how-to-maintain-insertion-order-of-the-elements-in-java-hashmap/ When elements get from the HashMap due to hashing the o
阅读全文
摘要:The differences between Method Overloading and Method Overriding in Java are as follows: Method Overloading Method Overriding Method overloading is a
阅读全文
摘要:https://www.geeksforgeeks.org/java-8-collectors-counting-with-examples/ Collectors counting() method is used to count the number of elements passed in
阅读全文
摘要:https://www.geeksforgeeks.org/collectors-groupingby-method-in-java-with-examples/ The groupingBy() method of Collectors class in Java are used for gro
阅读全文
摘要:https://www.geeksforgeeks.org/enum-in-java/ Enumerations serve the purpose of representing a group of named constants in a programming language. For e
阅读全文
摘要:https://www.geeksforgeeks.org/comparable-vs-comparator-in-java/ Java provides two interfaces to sort objects using data members of the class: Comparab
阅读全文
摘要:https://www.geeksforgeeks.org/equals-hashcode-methods-java/ Java.lang.object has two very important methods defined: public boolean equals(Object obj)
阅读全文
摘要:https://www.geeksforgeeks.org/stream-in-java/ Introduced in Java 8, the Stream API is used to process collections of objects. A stream is a sequence o
阅读全文
摘要:https://www.geeksforgeeks.org/generics-in-java/ Generics means parameterized types. The idea is to allow type (Integer, String, … etc., and user-defin
阅读全文
摘要:https://www.baeldung.com/java-lang-unsupportedclassversion Get started with Spring 5 and Spring Boot 2, through the Learn Spring course: > CHECK OUT T
阅读全文
摘要:https://www.baeldung.com/java-remove-start-end-double-quote#:~:text=To%20remove%20double%20quotes%20just,be%20replaced%20by%20empty%20strings. 1. Over
阅读全文
摘要:Convert Set to array in Java This post will discuss how to convert a set to an array in plain Java, Java 8, and the Guava library. 1. Naive solution A
阅读全文
摘要:https://www.javacodeexamples.com/java-regular-expression-remove-leading-zeros-example/104 Java Regular Expression Remove Leading Zeros Example October
阅读全文
摘要:How to remove leading zeros from alphanumeric text? https://stackoverflow.com/questions/2800739/how-to-remove-leading-zeros-from-alphanumeric-text I'v
阅读全文
摘要:https://www.cnblogs.com/bronya0/p/14408515.html PriorityQueue使用介绍 这玩意儿叫优先级队列,是一个类,继承了AbstractQueue类,实现了Serializable接口。jdk文档里是这么描述这玩意的: 基于优先级堆的无限优先级que
阅读全文