Explain Codes LogoExplain Codes Logo

Java

Is there a stopwatch in Java?

java
performance
best-practices
tools

Is there an eval() function in Java?

java
dynamic-code-execution
security-risks
expression-parsers

Is there a Java equivalent to null coalescing operator (??) in C#?

java
null-coalescing-operator
java-8
best-practices

Is Java's assertEquals method reliable?

java
object-comparison
equals-method
assertequals

Is it worth to use slf4j with log4j2

java
logging
best-practices
performance

Is it possible to use raw SQL within a Spring Repository?

java
spring-data
sql-queries
repository-patterns

Is it possible to solve the "A generic array of T is created for a varargs parameter" compiler warning?

java
pattern-builder
type-safety
unchecked-casting

Is it possible to have empty RequestParam values use the defaultValue?

java
request-parameter
spring-annotations
null-pointer-exception

Is it OK to use Gson instance as a static field in a model bean (reuse)?

java
thread-safety
best-practices
performance

Is iterating ConcurrentHashMap values thread safe?

java
concurrent-programming
thread-safety
collections

Intellij shows method parameter hints on usage - How to disable it

java
intellij
editor-settings
productivity

Intellij IDEA 13 uses Java 1.5 despite setting to 1.7

java
intellij-idea
maven
gradle

Intellij Cannot resolve symbol on import

java
intellij-settings
maven-vs-gradle
import-resolution

Intellij cannot find any declarations

java
intellij-configuration
project-structure
java-sdk

Instantiating a generic class in Java

java
instantiation
generics
reflection

Instantiate a class object with constructor that accepts a string parameter?

java
reflection
constructor
instantiation

In JPA 2, using a CriteriaQuery, how to count results

java
jpa
criteriaquery
counting

In Java 8, how do I transform a Map to another Map using a lambda?

java
defensive-coding
stream-api
map-transformation

In IntelliJ IDEA how do I replace text with a new line?

java
regex
intellij-idea
text-replacement

Infinite Recursion with Jackson JSON and Hibernate JPA issue

java
json-engineering
hibernate
serialization