Explain Codes LogoExplain Codes Logo

Java

How to write logs in text file when using java.util.logging.Logger

java
logging
java-logging
file-handling

Why is printing "B" dramatically slower than printing "#"?

java
console-output
performance-optimization
ide-behavior

%like% Query in spring JpaRepository

java
prompt-engineering
best-practices
performance

How to specify jackson to only use fields - preferably globally

java
jackson-configuration
objectmapper
json-serialization

Java "lambda expressions not supported at this language level"

java
java-8
lambda
build-tools

Read url to string in few lines Java code

java
try-with-resources
io-exceptions
java-8-streams

Is it possible to iterate through JSONArray?

java
json-iteration
exception-handling
java-streams

How can I find Java heap size and memory used (Linux)?

java
memory-management
jvm-parameters
garbage-collection

How to convert an int array to String with toString method in Java

java
arrays
string-conversion
streams

How can I open Java .class files in a human-readable way?

java
decompilation
javap
bytecode

Hibernate show real SQL

java
logging
hibernate
sql-logging

How do I compare strings in Java?

java
string-comparison
null-safety
interning

How to set connection timeout with OkHttp

java
connection-timeout
okhttp
retrofit

Is not an enclosing class Java

java
inner-classes
static-nested-classes
encapsulation

Volatile Vs Atomic

java
concurrency
atomicity
volatile-variables

How to implement the Android ActionBar back button?

java
android-actionbar
back-button
android-development

How to generate a random alpha-numeric string

java
random-string-generation
security
performance

Java.net.malformedurlexception: no protocol

java
xml-parsing
memory-management
streaming-data

How to hash some String with SHA-256 in Java?

java
hashing
sha-256
encoding

Get source JARs from Maven repository

java
dependency-management
maven-repository
source-jars