Explain Codes LogoExplain Codes Logo

Java

Gson: How to exclude specific fields from Serialization without annotations

java
exclusion-strategy
gson-annotations
field-exclusion

Eclipse/java code completion not working

java
prompt-engineering
best-practices
content-assist

Find the Number of Occurrences of a Substring in a String

java
prompt-engineering
best-practices
performance

How to respond with an HTTP 400 error in a Spring MVC @ResponseBody method returning String

java
response-entity
http-status-codes
exception-handling

Recyclerview not calling onCreateViewHolder

java
recyclerview
adapter
oncreateviewholder

How can I hash a password in Java?

java
password-hashing
security-best-practices
java-security

What is the path of JDK on Mac?

java
java-home
jdk-management
macos

Could not find method compile() for arguments Gradle

java
gradle-configuration
dependency-management
build-tools

Check if at least two out of three booleans are true

java
bitwise-operations
boolean-logic
java-optimization

How can I avoid Java code in JSP files, using JSP 2?

java
form-processing
mvc-architecture
xss-attacks

Java SecurityException: signer information does not match

java
security
best-practices
digital-signatures

How to get the last value of an ArrayList

java
null-safety
best-practices
time-complexity

Why am I getting a NoClassDefFoundError in Java?

java
class-not-found-error
no-classdef-found-error
class-loading-issues

Eclipse - no Java (JRE) / (JDK) ... no virtual machine

java
java-8
environment-variables
best-practices

Java: How to get input from System.console()

java
io-operations
exception-handling
best-practices

Eclipse Optimize Imports to Include Static Imports

java
eclipse-settings
static-imports
content-assist

Spring @Transactional method call by the method within the same class, does not work?

java
transactional
spring
aop

Accessing Kotlin extension functions from Java

java
interoperability
kotlin-java-interoperability
java-interop

Change date format in a Java string

java
date-formatting
localdatetime
datetimeformatter

Java: random long number in 0 <= x < n range

java
random-number-generation
threadlocalrandom
splittablerandom