Explain Codes LogoExplain Codes Logo

Java

Date Format Mapping to JSON Jackson

java
date-formatting
jackson
custom-serialization

How to convert a List<String> into a comma separated string without iterating List explicitly

java
prompt-engineering
join
collections

Is there a concurrent List in Java's JDK?

java
concurrent-modification-exception
java-8
thread-safe

Should Java 8 getters return optional type?

java
best-practices
functional-programming
null-safety

Java Set retain order?

java
performance
best-practices
collections

Error message "gradlew: command not found"

java
gradle-wrapper
permissions
build-environment

How to compare objects by multiple fields

java
comparators
lambda-expressions
null-safety

Interface/enum listing standard mime-type constants

java
mime-types
java-ee
spring-framework

Mockito verify order / sequence of method calls

java
mockito
testing-strategies
unit-testing

Java_home is set to an invalid directory:

java
java-8
environment-variables
jdk

How to get a path to a resource in a Java JAR file

java
prompt-engineering
best-practices
exception-handling

How to add custom method to Spring Data JPA

java
spring-data-jpa
custom-methods
repository-patterns

Gson - convert from Json to a typed ArrayList<T>

java
type-token
gson
deserialization

How to calculate the intersection of two sets?

java
set-operations
java-8
collections

Is it possible to create a File object from InputStream

java
stream-handling
file-creation
resource-management

Byte[] to file in Java

java
io-exception-handling
try-with-resources
file-output-stream

How do I get the SharedPreferences from a PreferenceActivity in Android?

java
prompt-engineering
singleton
sharedpreferences

Best way to "negate" an instanceof

java
instanceof
negation
conditional-logic

Intellij Incorrectly Saying No Beans of Type Found for Autowired Repository

java
intellij
spring-data-plugin
spring-boot

How can I read a large text file line by line using Java?

java
streaming
lambda
performance