Explain Codes LogoExplain Codes Logo

Java

The Use of Multiple JFrames: Good or Bad Practice?

java
gui-design
swing
multitasking

The easiest way to transform collection to array?

java
stream-api
java-8
collections

The Best Practice for Building a Plugin System with Java

java
plugin-system
plugin-architecture
java-best-practices

Test if a string contains any of the strings from an array

java
streaming
method-references
performance-optimization

Take a char input from the Scanner

java
scanner
input
character

System.currenttimemillis() vs. new Date() vs. Calendar.getInstance().getTime()

java
high-precision-timing
date-time-handling
performance-optimization

Synchronization vs Lock

java
concurrency-control
lock-acquisition
deadlocks

String.valueof() vs. Object.toString()

java
null-safety
logging
best-practices

String to string array conversion in java

java
string-manipulation
array-conversion
java-8-features

String to LocalDate

java
date-time-parsing
java-8
exception-handling

Stop IntelliJ IDEA from switching Java language level every time the pom is reloaded (or change the default project language level)

java
maven-settings
intellij-ide
java-compiler-plugin

Ssh library for Java

java
ssh-library
java-ssh
jsch

Spring Java Config: how do you create a prototype-scoped @Bean with runtime arguments?

java
singleton
lambda
best-practices

Spring cron vs normal cron?

java
cron-expressions
spring-cron
unix-cron

Spring Cache @Cacheable - not working while calling from another method of the same bean

java
spring-cache
aop-proxies
cache-configuration

Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

java
spring-boot
dependency-management
auto-configuration

Spring Boot REST service exception handling

java
exception-handling
spring-boot
rest-service

Spring 3.0 - Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]

java
spring-security
xml-configuration
maven-dependencies

Split string only on first instance - java

java
string-manipulation
regex-patterns
split-method

Split string into array of character strings

java
unicode-hazards
regex-patterns
internationalization