Explain Codes LogoExplain Codes Logo

Java

Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project

java
build-tools
gradle
maven

How do you specify the Java compiler version in a pom.xml file?

java
maven
compiler-plugin
java-compiler

How should I use try-with-resources with JDBC?

java
try-with-resources
jdbc
best-practices

Is "Java Concurrency In Practice" still valid?

java
concurrency
java-8
synchronization

Java.net.connectexception: Connection refused

java
networking-libraries
error-handling
network-stress-tests

Java FileOutputStream Create File if Not Exists

java
file-io
fileoutputstream
file-creation

Java: how can I split an ArrayList in multiple small ArrayLists?

java
list-manipulation
stream-api
guava

How to Convert List to Map?

java
prompt-engineering
collections
hashmap

Unfortunately MyApp has stopped. How can I solve this?

java
logcat
debugging

How do you create a dictionary in Java?

java
map
generics
error-handling

Finish all previous activities

java
intent-engineering
activity-management
android-development

Break or return from Java 8 stream forEach?

java
prompt-engineering
functions
collections

Simple way to repeat a string

java
string-repetition
java-11
string-format

How can I convert a byte array to hexadecimal in Java?

java
prompt-engineering
performance
best-practices

Best practice to validate null and empty collection in Java

java
null-checks
collection-validation
best-practices

Maven package/install without test (skip tests)

java
maven
build
testing

Setting active profile and config location from command line in Spring Boot

java
command-line-arguments
spring-boot
configuration-files

How can I sort Map values by key in Java?

java
map-implementation
tree-map
custom-comparator

Idea: javac: source release 1.7 requires target release 1.7

java
maven-compiler-plugin
intellij-settings
java-compiler

How to find difference between two Joda-Time DateTimes in minutes

java
datetime
joda-time
date-time-difference