Explain Codes LogoExplain Codes Logo

Java

How to convert BigDecimal to Double in Java?

java
precision
rounding
best-practices

How to convert a String to CharSequence?

java
java-8
generics
type-casts

How to convert an Instant to a date format?

java
date-formatting
instant-conversion
java-8

How to convert a Hibernate proxy to a real entity object

java
hibernate
proxy
entity

How to compare dates in Java?

java
date-comparison
java-8
time-zones

How to clear the console using Java?

java
console-cleaning
ansi-escape-codes
process-builder

How to Check if a String Is Numeric in Java

java
prompt-engineering
best-practices
functional-programming

How to check if a Java 8 Stream is empty?

java
performance
best-practices
collections

How to change the decimal separator of DecimalFormat from comma to dot/point?

java
number-formatting
decimal-separator
locale-conventions

How to change an Eclipse default project into a Java project

java
project-properties
java-runtime-environment
maven-projects

How to capitalize the first letter of a String in Java?

java
prompt-engineering
functions
best-practices

How to capitalize the first character of each word in a string

java
string-manipulation
java-8-features
best-practices

How to Call Super Constructor in Lombok

java
lombok
constructor
inheritance

How to avoid installing "Unlimited Strength" JCE policy files when deploying an application?

java
crypto-policy
jce
cryptography

How to assert greater than using JUnit Assert?

java
assertions
hamcrest-matchers
junit

How to add local .jar file dependency to build.gradle file?

java
gradle
maven
dependency-management

How to add JTable in JPanel with null layout?

java
gui-design
layout-managers
swing

How to add a TextView to LinearLayout in Android

java
layout-params
android-development
xml-layout

How to accept Date params in a GET request to Spring MVC Controller?

java
date-format
datetime-format
spring-mvc

How should I escape strings in JSON?

java
json-libraries
string-escaping
unicode-escaping