Explain Codes LogoExplain Codes Logo

Java

Data access object (DAO) in Java

java
best-practices
data-access
object-relational-mapping

How to convert float to int with Java

java
math-library
float-conversion
rounding-methods

What are assertions in Java and when should they be used?

java
design-by-contract
assertions-in-java
software-internals

Why is my Spring @Autowired field null?

java
spring-injection
bean-lifecycle
dependency-injection

Error: Unfortunately you can't have non-Gradle Java modules and > Android-Gradle modules in one project

java
gradle
android-studio
build-issues

How to implement infinity in Java?

java
infinity
math-operations
floating-point-numbers

Error java.lang.OutOfMemoryError: GC overhead limit exceeded

java
memory-management
garbage-collection
performance-optimization

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)

java
maven-compiler-plugin
debug-output
maven-cache

Is it expensive to use try-catch blocks even if an exception is never thrown?

java
performance
best-practices
exception-handling

Cast Double to Integer in Java

java
null-check
rounding-strategy
explicit-cast

Maven package works but IntelliJ's build fails

java
maven
intellij
configuration

Binding a list in @RequestParam

java
parameter-binding
request-param
java-annotations

How to check if a String contains another String in a case insensitive manner in Java?

java
string-comparison
performance-optimization
java-8

Why do I need to override the equals and hashCode methods in Java?

java
equals
hashcode
collections

How to build sources JAR with Gradle?

java
gradle
java-library-plugin
javadoc

Java Byte Array to String to Byte Array

java
encoding-decoding
base64-conversions
data-integrity

How to initialize List<String> object in Java?

java
list-initialization
java-8
stream-api

Jpa OneToMany not deleting child

java
entity-relationships
jpa-configuration
cascade-deletion

How to check if a String contains only ASCII?

java
prompt-engineering
best-practices
functions

Get an OutputStream into a String

java
bytearrayoutputstream
encoding
string-conversion