Explain Codes LogoExplain Codes Logo

Java

Using HeapDumpOnOutOfMemoryError parameter for heap dump for JBoss

java
heap-dump
memory-leaks
jvm-configuration

Best way to create an empty map in Java

java
singleton
collections
hashmap

How can I generate Javadoc comments in Eclipse?

java
javadoc
eclipse
best-practices

Can Mockito stub a method without regard to the argument?

java
mockito
testing
argument-matchers

Converting a date string to a DateTime object using Joda Time library

java
date-time
joda-time
date-formatting

Is there a way to simulate the C++ 'friend' concept in Java?

java
access-control
object-oriented-programming
design-integrity

How can I convert String[] to ArrayList

java
list-operations
array-conversion
java-8-streams

Left padding a String with Zeros

java
string-formatting
string-paddin
java-8

What is the standard exception to throw in Java for not supported/implemented operations?

java
exception-handling
best-practices
java-exceptions

How to count lines of Java code using IntelliJ IDEA?

java
interview-preparation
best-practices
tools

Android Emulator: Installation error: INSTALL_FAILED_VERSION_DOWNGRADE

java
emulator
version-code
android-manifest

Mocking static methods with Mockito

java
mockito
testing
static-methods

# Why does ConcurrentHashMap prevent null keys and values? #

java
concurrent-programming
thread-safety
null-values

How to assertThat something is null with Hamcrest?

java
assertions
hamcrest
testing

How can I trim beginning and ending double quotes from a string?

java
string-manipulation
performance-optimization
best-practices

How to use multiple @RequestMapping annotations in spring?

java
spring
request-mapping
url-patterns

How do I assert my exception message with JUnit Test annotation?

java
assertions
junit
exception-handling

Difference between & and && in Java?

java
logical-operations
performance-optimization
best-practices

Spring MVC - How to get all request params in a map in Spring controller?

java
request-parameter-handling
spring-mvc
request-parameters

Creating runnable JAR with Gradle

java
gradle
application-plugin
fat-jar