Explain Codes LogoExplain Codes Logo

Java

Json Java 8 LocalDateTime format in Spring Boot

java
objectmapper
jackson
datetime

Calculate days between two Dates in Java 8

java
date-api
localdate
chrono-unit

Import Maven dependencies in IntelliJ IDEA

java
intellij-ide
maven-configuration
dependency-management

"invalid signature file" when attempting to run a .jar

java
build-tools
maven
gradle

Convert ArrayList to String[] array

java
arraylist
toarray
java-8

Populating Spring @Value during Unit Test

java
reflection
unit-testing
spring

How to map a composite key with JPA and Hibernate?

java
orm-software
hibernate
jpa

Can't execute jar- file: "no main manifest attribute"

java
manifest
maven
ant

How to properly import a selfsigned certificate into Java keystore that is available to all Java applications by default?

java
keytool
keystore
certificate

When and how should I use a ThreadLocal variable?

java
thread-local
java-threading
thread-safety

Iterating through a Collection, Avoiding ConcurrentModificationException When Removing Objects in a Loop

java
concurrentmodificationexception
iterator
removeif

Is there a concise way to iterate over a stream with indices in Java 8?

java
stream-engineering
java-8
best-practices

Interview question: Check if one string is a rotation of other string

java
algorithm-implementation
performance-optimization
best-practices

Sort ArrayList of custom Objects by property

java
sorting
comparator
lambda

Java synchronized method lock on object, or method?

java
synchronized-methods
thread-safety
atomic-variables

Eclipse error: "The import XXX cannot be resolved"

java
eclipse-error
import-problems
maven-dependencies

Can someone explain mappedBy in JPA and Hibernate?

java
jpa
hibernate
best-practices

Custom thread pool in Java 8 parallel stream

java
parallel-execution
thread-pool
java-8

Determine which JAR file a class is from

java
class-loading
java-8
reflection

Using regular expressions to extract a value in Java

java
regex
pattern-engineering
performance