Explain Codes LogoExplain Codes Logo

Java

Java regex email

java
regex-pattern
email-validation
java-8

Remove last character of a StringBuilder?

java
string-manipulation
best-practices
string-builder

How do I use the new computeIfAbsent function?

java
memoization
lambda-expressions
method-references

How do I create a unique ID in Java?

java
atomic-long
thread-safety
custom-id-generation

Android Reading from an Input stream efficiently

java
input-stream
buffer-size
string-builder

Google Guava vs. Apache Commons

java
prompt-engineering
best-practices
collections

Intellij IDEA jump from interface to implementing class in Java

java
intellij-idea
shortcuts
ide-customization

Java - sending HTTP parameters via POST method easily

java
http-requests
post-method
url-encoding

How to asynchronously call a method in Java

java
async-programming
java-8
lambdas

How to avoid java.util.ConcurrentModificationException when iterating through and removing elements from an ArrayList

java
concurrent-modification-exception
list-iteration
java-best-practices

Mockito: doAnswer Vs thenReturn

java
mockito
testing
stubbing

Completablefuture | thenApply vs thenCompose

java
async-programming
future
java-8

Change priorityQueue to max priorityQueue

java
priority-queue
comparators
java-8

How to convert java.util.Date to java.sql.Date?

java
date-conversion
java-date-api
jdbc

How do I find out what keystore my JVM is using?

java
keystore-management
jvm-security
ssl-configuration

Mockito match any class argument

java
mockito
unit-testing
test-driven-development

How to Parameterize @Scheduled(fixedDelay) with the Spring 3.0 Expression Language

java
spring-boot
scheduled-tasks
parameterization

How to find files that match a wildcard string in Java?

java
file-manipulation
directory-stream
fileutils

Viewing contents of a .jar file

java
class-implementation
java-doc
jdk-tools

Jpa or JDBC, how are they different?

java
object-relational-mapping
database-integration
performance-optimization