Explain Codes LogoExplain Codes Logo

Java

Ant path style patterns

java
file-system
pattern-matching
wildcards

Converting between java.time.LocalDateTime and java.util.Date

java
time-zone-handling
date-time-api
java-8

How do I find where JDK is installed on my windows machine?

java
java-home
jdk-installation
windows

Switch case statement error: case expressions must be constant expression

java
best-practices
performance
if-else

How can I parse/format dates with LocalDateTime? (Java 8)

java
date-formatting
localdatetime
datetimeformatter

How to show method parameters hint in Intellij IDEA?

java
intellij-ide
code-completion
parameter-hints

How to add one day to a date?

java
date-manipulation
java-8-api
time-zones

How to use Mockito with JUnit 5?

java
mockito
junit-5
test-injection

Multiple line code example in Javadoc comment

java
javadoc
generics
html-entities

How to convert String object to Boolean Object?

java
prompt-engineering
best-practices
error-handling

What is this date format? 2011-08-12T20:17:46.384Z

java
date-format
java-8
best-practices

Volatile vs Static in Java

java
synchronization
atomicity
memory-consistency

How to use BigInteger?

java
biginteger
immutable-objects
mathematical-operations

Something like 'contains any' for Java set?

java
stream-api
collections
performance

How to quickly and conveniently create a one element arraylist

java
singleton
collections
best-practices

Run a single test method with maven

java
maven
testng
integration-tests

How can I check if an element exists with Selenium WebDriver?

java
prompt-engineering
best-practices
webdriver

How to split a string with any whitespace chars as delimiters

java
regex
string-manipulation
java-regex

What is the convention for word separator in Java package names?

java
package-naming-conventions
java-best-practices
java-standards

Delete all files in directory (but not directory) - one liner solution

java
file-system
exception-handling
file-deletion