Explain Codes LogoExplain Codes Logo

Java

Unable to locate tools.jar

java
jdk
tools
installation

How to programmatically set drawableLeft on Android button?

java
drawable
ui-ux
vector-drawables

Key existence check in HashMap

java
hashmap
performance
best-practices

Is there a destructor for Java?

java
garbage-collection
autocloseable
memory-leaks

What's the difference between getRequestURI and getPathInfo methods in HttpServletRequest?

java
httpservletrequest
url-decoding
spring-mvc

How to change font size in Eclipse for Java text editors?

java
eclipse
font-size
text-editor

Java - removing first character of a string

java
string-manipulation
unicode
performance

Gradle build without tests

java
gradle
ci-cd
flaky-tests

What exactly is Apache Camel?

java
integration
camel
dsl

How to print binary tree diagram in Java?

java
binary-tree
recursion
performance

'java' is not recognized as an internal or external command

java
environment-variables
java-installation
troubleshooting

What is the best way to find the user's home directory in Java?

java
user-home
jna
file-io

How can I convert a stack trace to a string?

java
stack-trace
logging
dependencies

How to convert a LocalDate to an Instant?

java
localdate
instant
timezone

How can I get the current stack trace in Java?

java
stack-trace
debugging
best-practices

How to convert / cast long to String?

java
string-conversion
long-literals
number-format-exception

How do I speed up the gwt compiler?

java
gwt
compiler-optimization
best-practices

How to automatically generate N "distinct" colors?

java
color-generation
algorithms
web-development

Can an int be null in Java?

java
null-pointer-exception
optional
refactoring

Java Delegates?

java
delegates
lambdas
functional-interfaces