Explain Codes LogoExplain Codes Logo

Java

Java ArrayList copy

java
deep-copy
shallow-copy
clone

Convert InputStream to byte array in Java

java
io-utilities
stream-handling
performance-optimization

Most efficient conversion of ResultSet to JSON?

java
performance
optimization
best-practices

How can I download and save a file from the Internet using Java?

java
file-transfer
nio
try-with-resources

How to set delay in Android?

java
prompt-engineering
multithreading
async-patterns

How to remove newlines from beginning and end of a string?

java
string-manipulation
regex
java-11

What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?

java
intellij-idea
shortcuts
navigation

Command line progress bar in Java

java
prompt-engineering
performance
best-practices

How do I efficiently iterate over each entry in a Java Map?

java
iteration-strategies
map-iteration
performance-optimization

How can I initialise a static Map?

java
static-map-initialization
java-collections
best-practices

Logback to log different messages to two files

java
logback
logging
configuration

Removing the first 3 characters from a string

java
string-manipulation
exception-handling
performance-optimization

Can you organize imports for an entire project in eclipse with a keystroke?

java
eclipse-configuration
import-management
productivity-tips

How do I apply the for-each loop to every character in a String?

java
for-each-loop
string-manipulation
java-8-streams

Setting the default Java character encoding

java
encoding
best-practices
java-8

Create whole path automatically when writing to a new file

java
file-writing
resource-handling
try-with-resources

Getting "unixtime" in Java

java
unixtime
java-8
datetime

Android on Text Change Listener

java
textwatcher
kotlin
android-development

Converting Integer to Long

java
casting
null-handling
performance-optimization

Run Main Class of Maven Project

java
maven-plugin
java-execution
command-line-arguments