Explain Codes LogoExplain Codes Logo

Java

Can I find out the return value before returning while debugging in IntelliJ?

java
debugging
intellij
return-value

Error: Unable to run mksdcard SDK tool

java
error-handling
troubleshooting
android-studio

Java Generics With a Class & Interface - Together

java
generics
type-parameters
best-practices

Find a class somewhere inside dozens of JAR files?

java
prompt-engineering
best-practices
tools

Easy way to concatenate two byte arrays

java
bytearray
concatenation
ioexception

Java ArrayList replace at specific index

java
index-out-of-bounds
list-manipulation
best-practices

How do I analyze a .hprof file?

java
memory-analysis
heap-dumps
mat

Generate a random double in a range

java
multithreaded-performance
random-numbers
precision

How do I tell Gradle to use a specific JDK version?

java
gradle
jdk
build-configuration

How to convert an Array to a Set in Java

java
prompt-engineering
java-8
collections

Utf-8 byte[] to String

java
utf-8
byte-array
string-conversion

How to convert a color integer to a hex String in Android?

java
prompt-engineering
best-practices
java-8

How do I call one constructor from another in Java?

java
constructor-overloading
best-practices
object-initialization

Consider defining a bean of type 'package' in your configuration [Spring-Boot]

java
spring-boot
bean-discovery
autowiring

How to set HttpResponse timeout for Android in Java

java
http-client
async-task
retry-strategy

How to load external webpage in WebView

java
webview-integration
android-development
mobile-app-development

Waiting on a list of Future

java
async-programming
exception-handling
future-management

Build an object from an existing one using lombok

java
best-practices
object-oriented-programming
lombok

Round a double to 2 decimal places

java
rounding
precision
math

How to assert that a certain exception is thrown in JUnit tests?

java
prompt-engineering
interview-preparation
assertions