Explain Codes LogoExplain Codes Logo

Java

How to format LocalDate to string?

java
datetimeformatter
localdate
date-formatting

How to convert Milliseconds to "X mins, x seconds" in Java?

java
prompt-engineering
best-practices
mathematical-operations

How does the Java 'for each' loop work?

java
iterator
concurrentmodificationexception
collections

How to deal with "java.lang.OutOfMemoryError: Java heap space" error?

java
memory-management
performance-optimization
debugging

Convert Iterable to Stream using Java 8 JDK

java
stream-api
iterable-conversion
java-8

Default fetch type for one-to-one, many-to-one and one-to-many in Hibernate

java
lazy-loading
eager-loading
hibernate

Spring Boot without the web server

java
spring-boot
web-server
dependency-exclusions

Retrieve version from maven pom.xml in code

java
maven
pom-xml
version-retrieval

How do I convert a String to an InputStream in Java?

java
string-conversion
input-stream
encoding

What exactly is Spring Framework for?

java
spring-framework
dependency-injection
transaction-management

How do I enable index downloads in Eclipse for Maven dependency search?

java
maven
eclipse
index-downloads

How can I create an executable/runnable JAR with dependencies using Maven?

java
maven-plugin
executable-jar
dependency-management

Removing whitespace from strings in Java

java
regex
string-manipulation
java-8

Android - set TextView TextStyle programmatically?

java
prompt-engineering
best-practices
performance

What are the -Xms and -Xmx parameters when starting JVM?

java
memory-management
jvm-options
performance-tuning

Copying files from one directory to another in Java

java
file-handling
io-operations
performance-optimization

How to make a new List in Java

java
list-creation
java-8
best-practices

How to do URL decoding in Java?

java
url-decoding
java-encoding
character-encoding

Lombok annotations do not compile under Intellij IDEA

java
lombok-annotations
intellij-idea
troubleshooting

Android Studio error: "Manifest merger failed: Apps targeting Android 12"

java
android-studio
android-12
manifest-merger