Explain Codes LogoExplain Codes Logo

Java

How to free memory in Java?

java
garbage-collection
memory-management
performance-tuning

How to fix the "java.security.cert.CertificateException: No subject alternative names present" error?

java
ssl-checks
certificate-exception
java-security

How to fix Hibernate LazyInitializationException: failed to lazily initialize a collection of roles, could not initialize proxy - no Session

java
lazy-loading
hibernate
transactional

How to find unused/dead code in java projects

java
best-practices
tools
performance

How to Expand Folded Package Chain in IntelliJ IDEA?

java
intellij-idea
package-management
project-structure

How to enter quotes in a Java string?

java
string-manipulation
string-formatting
regular-expressions

How to encrypt String in Java

java
cryptography
security-best-practices
key-management

How to directly initialize a HashMap (in a literal way)?

java
map-initialization
java-9
immutable-maps

How to determine an object's class?

java
instanceof
class-checks
polymorphism

How to de/serialize an immutable object without default constructor using ObjectMapper?

java
objectmapper
serialization
deserialization

How to debug stream().map(...) with lambda expressions?

java
lambda
debugging
stream-api

How to deal with a slow SecureRandom generator?

java
performance-issues
security-best-practices
entropy-management

How to create a windows service from java app

java
wrapper
service-wrapper
java-service

How to create a project from existing source in Eclipse and then find it?

java
file-management
eclipse-configuration
project-structure

How to create a file in a directory in Java?

java
file-io
exception-handling
file-operations

How to copy Java Collections list

java
deep-copies
collections
performance

How to convert ZonedDateTime to Date?

java
date-time
java-time
time-zone

How to convert .pfx file to keystore with private key?

java
keytool
keystore
private-key

How to convert number to words in Java

java
number-to-words
scale-units
decimal-handling

How to convert current date into string in Java?

java
date-formatting
datetime-api
thread-safety