Explain Codes LogoExplain Codes Logo

Java

Create `ArrayList` from array

java
arrays
guava
streams

How do I determine whether an array contains a particular value in Java?

java
arrays
streams
performance

How to set thousands separator in Java?

java
decimalformat
bigdecimal
numberformat

Deprecated Java HttpClient - How hard can it be?

java
httpclient
exception-handling
connection-pooling

I get exception when using Thread.sleep(x) or wait()

java
multitasking
interruptedexception
concurrency

How do I convert a Map to List in Java?

java
map-to-list
streams
java-8

Does a finally block always get executed in Java?

java
finally
best-practices
exception-handling

Convert JSON String to Pretty Print JSON Output Using Jackson

java
json
pretty-print
objectmapper

Where is JAVA_HOME on macOS Mojave (10.14) to Lion (10.7)?

java
java-home
jdk-versions
homebrew

Where can I find the Java SDK in Linux after installing it?

java
jdk
linux
path

What is the "continue" keyword and how does it work in Java?

java
continue
best-practices
nested-loops

Reverse a string in Java

java
string-reversal
coding-interview
best-practices

Override default Spring-Boot application.properties settings in Junit Test

java
spring-boot
junit
testing

How do I use a PriorityQueue?

java
priorityqueue
comparator
lambda

Singleton with Arguments in Java

java
singleton
thread-safety
builder-pattern

How to convert a Java 8 Stream to an Array?

java
java-8
streams
performance

How to change color of the back arrow in the new Material theme?

java
customization
theme-attributes
navigation-icon

How to set selected item of Spinner by value, not by position?

java
spinner
arraylist
nullpointerexception

Converting Java bitmap to byte array

java
bitmap
byte-array
memory-management

Impossible to make a cached thread pool with a size limit?

java
thread-pool
concurrency
best-practices