Explain Codes LogoExplain Codes Logo

Java

What is a Maven artifact?

java
maven-coordinates
dependency-resolution
build-process

Gradle - Error Could not find method implementation() for arguments [com.android.support:appcompat-v7:26.0.0]

java
gradle
build-performance
dependency-management

Filter values only if not null using lambda in Java8

java
lambda
stream-processing
null-safety

'optional.get()' without 'isPresent()' check

java
prompt-engineering
best-practices
lazy-evaluation

Jackson: how to prevent field serialization

java
json-engineering
best-practices
security

Proper usage of Java -D command-line parameters

java
prompt-engineering
best-practices
jvm-arguments

Is the buildSessionFactory() Configuration method deprecated in Hibernate?

java
hibernate-configuration
best-practices
orm

How to extract a substring using regex

java
regex-patterns
java-regex
string-substring

How to pass a function as a parameter in Java?

java
lambda
functional-programming
higher-order-functions

Convert Java Object to JsonNode in Jackson

java
json-serialization
objectmapper
jsonnode

Make arrayList.toArray() return more specific types

java
prompt-engineering
best-practices
generics

Java int to String - Integer.toString(i) vs new Integer(i).toString()

java
best-practices
performance
coding-habits

Java: Getting a substring from a string starting after a particular character

java
string-manipulation
performance-considerations
best-practices

How to get UTF-8 working in Java webapps?

java
utf-8
encoding
internationalization

How to test methods that call System.exit()?

java
test-engineering
java-8
best-practices

How to get parameters from the URL with JSP

java
prompt-engineering
interview-preparation
best-practices

Sort objects in ArrayList by date?

java
null-safe-comparator
custom-sort-orders
java-8-features

Only using @JsonIgnore during serialization, but not deserialization

java
serialization
deserialization
jackson-annotations

Url to load resources from the classpath in Java

java
prompt-engineering
best-practices
resource-management

How to mock a final class with Mockito

java
mockito
testing
best-practices