Table of Contents
100 Java Mistakes and How to Avoid Them - Index
Return to 100 Java Mistakes and How to Avoid Them, Effective Java, 100 Java Mistakes and How to Avoid Them - Table of Contents
index
SYMBOLS
–2,147,483,648 (Integer.MIN_VALUE)[2,147,483,648 (Integer.MIN_VALUE], 2nd, 3rd, 4th, 5th
–0.0 (negative zero)[0.0 (negative zero)], 2nd
& (bitwise and) operator
@OverridingMethodsMustInvokeSuper annotation[OverridingMethodsMustInvokeSuper annotation]
]
@MustBeInvokedByOverriders annotation[MustBeInvokedByOverriders annotation]
2,147,483,647 (Integer.MAX_VALUE) , 2nd, 3rd
@RegEx annotation[RegEx annotation]
@Deprecated annotation[Deprecated annotation]
&= operator
// fallthrough comment
@Nested annotation[Nested annotation]
\<clinit\\> method[clinit method]
32,767 (Short.MAX_VALUE)
@Range annotation[Range annotation]
–128 (Byte.MIN_VALUE)[128 (Byte.MIN_VALUE)], 2nd, 3rd, 4th
@GTENegativeOne annotation[GTENegativeOne annotation]
@NonNullByDefault annotation[NonNullByDefault annotation]
@SuppressWarnings annotation[SuppressWarnings annotation], 2nd
@CheckReturnValue annotation[CheckReturnValue annotation], 2nd
@FormatMethod annotation[FormatMethod annotation]
@Nonnegative annotation[Nonnegative annotation]
@Nullable annotation[Nullable annotation], 2nd, 3rd
%b specifier
% operation
@NonNegative annotation[NonNegative annotation]
@Unmodifiable annotation[Unmodifiable annotation], 2nd
@SideEffectFree annotation[SideEffectFree annotation]
@Contract annotation[Contract annotation]
127 (Byte.MAX_VALUE), 2nd, 3rd, 4th
-ea (enable assertions) command-line option[ea (enable assertions) command-line option]
@Test annotation[Test annotation], 2nd
0 (zero)
failing to return when comparing equal objects, 2nd
4.9 × 10<Superscript>–324<Default Para Font> (Double.MIN_VALUE)[4.9]
@FormatString annotation[FormatString annotation]
@IntRange annotation[IntRange annotation]
\<localInspection\\> entry[localInspection]
+ operator
-c javap tool command line option[c javap tool command line option]
AAA (ARRANGE, ACT, ASSERT) PATTERN
AAA (Arrange, Act, Assert) pattern
ABS() METHOD (MATH CLASS)
abs() method (Math class), 2nd, 3rd
ACT PART
Act part
ADD() METHOD (COLLECTION INTERFACE)
add() method (Collection interface), 2nd, 3rd, 4th, 5th
ADDALL() METHOD (COLLECTION INTERFACE)
addAll() method (Collection interface)
ADDEXACT() METHOD (MATH CLASS)
addExact() method (Math class)
ADDITION
addition, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
AND() METHOD (BITSET CLASS)
and() method (BitSet class)
ANDROID ANNOTATIONS
Android annotations
ANNOTATION, CALLING GETCLASS() ON
annotation, calling getClass() on
ANNOTATIONTYPE() METHOD (ANNOTATION INTERFACE)
annotationType() method (Annotation interface)
ANTISYMMETRY
antisymmetry
ANYMATCH() METHOD (STREAM INTERFACE)
anyMatch() method (Stream interface)
APACHE COMMONS LANG
Apache Commons Lang, 2nd
APPENDCODEPOINT() METHOD (STRINGBUILDER CLASS)
appendCodePoint() method (StringBuilder class)
ARITHMETIC OPERATORS
arithmetic operators
addition, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
division, 2nd, 3rd, 4th, 5th, 6th, 7th
multiplication, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
subtraction, 2nd, 3rd, 4th, 5th, 6th, 7th
unary minus
ARITHMETICEXCEPTION
ArithmeticException, 2nd, 3rd, 4th, 5th
ARRANGE PART
Arrange part
ARRAY
array, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
binary search bug
hash code of, 2nd
index out of bounds, 2nd
using in loops, 2nd
variable arity parameter, 2nd
ARRAYDEQUE CLASS
ArrayDeque class, 2nd, 3rd
ARRAYINDEXOUTOFBOUNDSEXCEPTION
ArrayIndexOutOfBoundsException
ARRAYLIST CLASS
ArrayList class, 2nd
ARRAYS UTILITY CLASS
Arrays utility class
asList() method, 2nd
binarySearch() method
deepEquals() method
deepHashCode() method
equals() method
hashCode() method
setAll() method, 2nd, 3rd
sort() method, 2nd
ASLIST() METHOD (ARRAYS CLASS)
asList() method (Arrays class), 2nd, 3rd
ASSERT PART
Assert part
ASSERT PREFIX
assert prefix
ASSERT STATEMENT
assert statement
ASSERT STATEMENT WITH SIDE EFFECTS INSPECTION
assert Statement with Side Effects inspection
ASSERTEQUALS() METHOD
assertEquals() method, 2nd
ASSERTION IS SUPPRESSED BY CATCH INSPECTION
Assertion Is Suppressed by catch inspection
ASSERTNOTEQUALS() METHOD
assertNotEquals() method
ASSERTNOTNULL() METHOD
assertNotNull() method, 2nd, 3rd
ASSERTTHAT() METHOD
assertThat() method
ASSERTTHROWS() METHOD
assertThrows() method, 2nd, 3rd
ASSIGNMENT TO FOR LOOP PARAMETER INSPECTION
Assignment to for Loop Parameter inspection
ASSIGNMENT TO STATIC FIELD FROM INSTANCE CONTEXT INSPECTION
Assignment to Static Field from Instance Context inspection
ASSUMPTIONS, WORLD IS STABLE
assumptions, world is stable, 2nd
ATOMICINTEGER CLASS
AtomicInteger class
AUTOMATED TESTING
automated testing, 2nd
AVAILABLEPROCESSORS() METHOD (RUNTIME CLASS)
availableProcessors() method (Runtime class)
BIFUNCTION INTERFACE
BiFunction interface
BIGDECIMAL CLASS
BigDecimal class, 2nd
comparing with different scales
stripTrailingZeros() method
BIGINTEGER CLASS
BigInteger class, 2nd, 3rd
BINARY SHIFT
binary shift, 2nd, 3rd, 4th, 5th, 6th
left
right, 2nd
BINARYSEARCH() METHOD (ARRAYS CLASS)
binarySearch() method (Arrays class)
BITSET CLASS
BitSet class, 2nd, 3rd
BITWISE OPERATORS
bitwise operators, 2nd, 3rd, 4th
BOOLEAN CLASS
Boolean class
FALSE constant
TRUE constant
compare() method
getBoolean() method
parseBoolean() method
BOOLEAN TYPE
Boolean type, 2nd
BOOLEAN VALUE
boolean value, 2nd, 3rd
comparison
conversion from string, 2nd
BOXED BOOLEAN
boxed Boolean, 2nd
BOXED NUMBERS
boxed numbers, 2nd, 3rd, 4th, 5th, 6th
cache
BREAK STATEMENT
break statement
BREAKITERATOR CLASS
BreakIterator class
BUFFEREDREADER.READLINE() METHOD
BufferedReader.readLine() method, 2nd
BYTE TYPE
byte type
array of
cast to
negative values, 2nd
widening, 2nd
BYTEARRAYOUTPUTSTREAM CLASS
ByteArrayOutputStream class
BYTE[] ARRAY
byte[] array
CALENDAR CLASS
Calendar class
CALL TO STRING.TOUPPERCASE() OR TOLOWERCASE() WITHOUT A LOCALE INSPECTION
Call to String.toUpperCase() or toLowerCase() Without a Locale inspection
CASE CONVERSIONS
case conversions, 2nd
CAST CONFLICTS WITH INSTANCEOF INSPECTION
Cast Conflicts With Instanceof inspection
CHAR TYPE
char type
compound assignment
passing to StringBuilder constructor
widening, 2nd, 3rd
CHARACTER.ISDIGIT() METHOD
Character.isDigit() method, 2nd
CHARAT() METHOD (STRING CLASS)
charAt() method (String class), 2nd, 3rd
CHARSEQUENCE INTERFACE
CharSequence interface
CHECKER FRAMEWORK ANNOTATIONS
Checker Framework annotations
CHECKINDEX() METHOD (OBJECTS CLASS)
checkIndex() method (Objects class)
CLAMP() METHOD (MATH CLASS)
clamp() method (Math class)
CLASS CLASS
Class class
getClass() method
getClassLoader() method
getMethod() method, 2nd
isInstance() method, 2nd
CLONEABLE INTERFACE
Cloneable interface
CODE QUALITY
code quality
code assertions
code review
code style, 2nd
static analysis
CODEPOINTAT() METHOD (STRING CLASS)
codePointAt() method (String class)
CODEPOINTCOUNT() METHOD (STRING CLASS)
codePointCount() method (String class)
CODEQL
CodeQL
COLLECT() METHOD (STREAM CLASS)
collect() method (Stream class)
COLLECTION INTERFACE
Collection interface
add() method, 2nd, 3rd, 4th, 5th
addAll() method, 2nd
contains() method, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
containsAll() method
forEach() method, 2nd
isEmpty() method, 2nd
parallelStream() method
remove(Object) method
removeAll() method
removeIf() method, 2nd
retainAll() method
stream() method
COLLECTIONS
collections
COLLECTIONS UTILITY CLASS
Collections utility class
checkedList() method
checkedMap() method
max() method
min() method, 2nd
shuffle() method
unmodifiableCollection() method
unmodifiableList() method, 2nd
unmodifiableSet() method
COLLECTORS CLASS
Collectors class
groupingBy() method
maxBy() method
minBy() method
partitioningBy() method
toList() method, 2nd
toMap() method
toSet() method
toUnmodifiableList() method
COM.GOOGLE.ERRORPRONE.BUGPATTERNS.BUGCHECKER ABSTRACT CLASS
com.google.errorprone.bugpatterns.BugChecker abstract class
COM.GOOGLE.ERRORPRONE\
com.google.errorprone\
error_prone_check_api artifact
COMPARABLE INTERFACE
Comparable interface
compareTo() method, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
COMPARATOR INTERFACE
Comparator interface
compare() method
comparing() method
comparingDouble() method
nullsFirst() method, 2nd
nullsLast() method, 2nd
thenComparing() method
COMPARATORS
comparators
returning random numbers from
COMPARE() METHOD
compare() method
of Boolean class
of Comparator interface, 2nd, 3rd
of Double class
COMPARE() METHOD CAN BE USED TO COMPARE NUMBERS INSPECTION
compare() Method Can Be Used to Compare Numbers inspection
COMPARETO() METHOD (COMPARABLE INTERFACE)
compareTo() method (Comparable interface), 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
COMPARINGDOUBLE() METHOD (COMPARATOR INTERFACE)
comparingDouble() method (Comparator interface)
COMPARISON METHODS
comparison methods
malformed implementation, 2nd
COMPARISON TO DOUBLE.NAN OR FLOAT.NAN INSPECTION
Comparison to Double.NaN or Float.NaN inspection
COMPARISONCHAIN CLASS
ComparisonChain class
COMPONENT.HANDLEEVENT() METHOD
Component.handleEvent() method
COMPUTE() METHOD (MAP INTERFACE)
compute() method (Map interface)
COMPUTEIFABSENT() METHOD (MAP INTERFACE)
computeIfAbsent() method (Map interface), 2nd, 3rd, 4th
COMPUTEIFPRESENT() METHOD (MAP INTERFACE)
computeIfPresent() method (Map interface)
CONCATENATION
concatenation, 2nd
CONCURRENTHASHMAP CLASS
ConcurrentHashMap class
CONCURRENTLINKEDDEQUE CLASS
ConcurrentLinkedDeque class
CONCURRENTLINKEDQUEUE CLASS
ConcurrentLinkedQueue class
CONCURRENTMODIFICATIONEXCEPTION
ConcurrentModificationException
CONDITIONS
conditions
dominated by previous condition, 2nd
CONFUSING ARGUMENT TO VARARGS METHOD INSPECTION
Confusing Argument to Varargs Method inspection
CONSTANT VALUES INSPECTION
Constant Values inspection, 2nd, 3rd, 4th
CONTAINS() METHOD (COLLECTION INTERFACE)
contains() method (Collection interface), 2nd, 3rd, 4th, 5th, 6th
CONTAINSKEY() METHOD (MAP INTERFACE)
containsKey() method (Map interface)
COPYOF() METHOD
copyOf() method
COUNT() METHOD (STREAM INTERFACE)
count() method (Stream interface)
COUNTDOWN() METHOD (COUNTDOWNLATCH CLASS)
countDown() method (CountDownLatch class)
COUNTDOWNLATCH CLASS
CountDownLatch class
COVERITY
Coverity
CREATENEWFILE() METHOD (FILE CLASS)
createNewFile() method (File class)
CRYPTOGRAPHIC KEYS
cryptographic keys
DATA STRUCTURES, NON-ATOMIC ACCESS
data structures, non-atomic access
DATE CLASS
Date class, 2nd
DATETIMEFORMATTER CLASS
DateTimeFormatter class
ofPattern() method
DECIMALFORMAT CLASS
DecimalFormat class
DEFAULT LOCALE
default locale
in String.format() method, 2nd
in case conversions, 2nd
DIVISION
division, 2nd, 3rd, 4th, 5th, 6th
DOUBLE CLASS
Double class
MAX_VALUE constant
NEGATIVE_INFINITY constant
NaN constant
compare() method
isNaN() method
parseDouble() method
DOUBLE TYPE
double type, 2nd
boxing in conditional expression
comparing
domain
rounding errors
signed zero
underflow
widening
DYNAMIC ANALYSIS
dynamic analysis
ELEMENT INTERFACE
Element interface
ELSE BRANCH
else branch, 2nd, 3rd
ENUM CLASS
enum class, 2nd, 3rd, 4th
getClass() method
getDeclaringClass() method
initialization order, 2nd
ordinal() method
ENUM SWITCH
enum switch
ENUMSET CLASS
EnumSet class, 2nd
EQUALS() BETWEEN OBJECTS OF INCONVERTIBLE TYPES INSPECTION
equals() Between Objects of Inconvertible Types inspection, 2nd
EQUALS() CALLED ON ITSELF INSPECTION
equals() Called on Itself inspection
EQUALS() CALLED ON JAVA.MATH.BIGDECIMAL INSPECTION
equals() Called on java.math.BigDecimal inspection
EQUALS() CALLED ON STRINGBUILDER INSPECTION
equals() Called on StringBuilder inspection
EQUALS() METHOD
equals() method, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
malformed implementation, 2nd
using on unrelated types, 2nd
EQUIVALENCECHECKER CLASS
EquivalenceChecker class
ERROR PRONE ANALYZER
Error Prone analyzer
ERROR PRONE ANNOTATIONS
Error Prone annotations
ERROR PRONE BUG PATTERNS
Error Prone bug patterns
BareDotMetacharacter
CheckReturnValue
CollectionIncompatibleType
EqualsNaN
FormatString
GetClassOnAnnotation
GetClassOnClass
GetClassOnEnum
IndexOfChar
InfiniteRecursion
MissingSuperCall
StringBuilderInitWithChar
URLEqualsHashCode
EXCEPTIONS
exceptions
ArithmeticException, 2nd, 3rd, 4th
ArrayIndexOutOfBoundsException, 2nd, 3rd
ClassCastException
ConcurrentModificationException, 2nd, 3rd
IndexOutOfBoundsException, 2nd, 3rd, 4th, 5th
StringIndexOutOfBoundsException, 2nd
EXPRESSIONS
expressions
accidental concatenation instead of addition
conditional expression, 2nd
EXTENDING STATIC ANALYSIS TOOLS
extending static analysis tools
Error Prone plugin
SpotBugs plugin
FAIL() METHOD
fail() method
FAIL-FAST BEHAVIOR
fail-fast behavior
FASTUTIL LIBRARY
FastUtil library
FIELD
field
comparing in equals, 2nd
initialization order, 2nd, 3rd
stability
FIELD.SETACCESSIBLE() METHOD
Field.setAccessible() method
FILE CLASS
File class, 2nd
createNewFile() method
delete() method
mkdir() method
rename() method
separator constant
FILES CLASS
Files class
createDirectories() method
getLastModifiedTime() method
isDirectory() method
isRegularFile() method
isSymbolicLink() method
list() method
size() method
FILTER() METHOD (STREAM INTERFACE)
filter() method (Stream interface)
FINAL VARIABLE
final variable, 2nd
FINDBUGS/SPOTBUGS ANNOTATIONS
FindBugs/SpotBugs annotations
FLAKY TESTS
flaky tests
FLOAT TYPE
float type, 2nd, 3rd
FLOORMOD() METHOD (MATH CLASS)
floorMod() method (Math class), 2nd, 3rd
FOR LOOPS
for loops, 2nd, 3rd
not using variable of, 2nd
overflow, 2nd
wrong direction of, 2nd
FOR-EACH LOOP
for-each loop, 2nd, 3rd
FOREACH() METHOD (COLLECTION INTERFACE)
forEach() method (Collection interface), 2nd
FOREACHORDERED() METHOD (STREAM INTERFACE)
forEachOrdered() method (Stream interface), 2nd
FORI LIVE TEMPLATE
fori live template
FORKJOINPOOL CLASS
ForkJoinPool class
FORMAT SPECIFIERS, INCORRECT IN DATE FORMATTING
format specifiers, incorrect in date formatting
FORMAT() METHOD
format() method
of String class
FORMATTED() METHOD (STRING CLASS)
formatted() method (String class), 2nd
FORR POSTFIX TEMPLATE
forr postfix template
FUTURE INTERFACE
Future interface
GET() METHOD
get() method
of AtomicInteger class
of Future interface
of List interface, 2nd
of Map interface, 2nd
of WeakReference class
GET/PUT SEQUENCE
get/put sequence
GETATTRIBUTE() METHOD (ELEMENT INTERFACE)
getAttribute() method (Element interface)
GETBOOLEAN() METHOD (BOOLEAN CLASS)
getBoolean() method (Boolean class)
GETCHARACTERINSTANCE() METHOD (BREAKITERATOR CLASS)
getCharacterInstance() method (BreakIterator class)
GETCLASS() METHOD
getClass() method, 2nd, 3rd
GETDECLARINGCLASS() METHOD (ENUM INTERFACE)
getDeclaringClass() method (Enum interface)
GETHOUR() METHOD (LOCALDATETIME CLASS)
getHour() method (LocalDateTime class)
GETMETHOD() METHOD (CLASS CLASS)
getMethod() method (Class class)
GETNUMBERINSTANCE() METHOD (NUMBERFORMAT CLASS)
getNumberInstance() method (NumberFormat class)
GOOGLE JAVA STYLE GUIDE
Google Java Style Guide
GRADLE RUNIDE COMMAND
gradle runIde command
GUAVA LIBRARY
Guava library, 2nd, 3rd, 4th, 5th, 6th
HASATTRIBUTE() METHOD (ELEMENT INTERFACE)
hasAttribute() method (Element interface)
HASHCODE() CALLED ON ARRAY INSPECTION
hashCode() Called on Array inspection
HASHCODE() METHOD
hashCode() method, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th
StackOverflowError when computing
for case-insensitive string, 2nd
in URL class, 2nd
in array, 2nd, 3rd
in mutable objects, 2nd
HASHMAP CLASS
HashMap class
HASHMAP KEY
HashMap key, 2nd
HASHSET CLASS
HashSet class, 2nd, 3rd
HASNEXT() METHOD (ITERATOR INTERFACE)
hasNext() method (Iterator interface), 2nd
HEXADECIMAL VALUES
hexadecimal values
HEXFORMAT CLASS
HexFormat class
IC (INTELLIJ IDEA COMMUNITY EDITION)
IC (IntelliJ IDEA Community Edition)
IDENTITYHASHMAP CLASS
IdentityHashMap class
IF STATEMENT
if statement, 2nd, 3rd, 4th, 5th, 6th, 7th
IFEMPTY() METHOD (STREAMEX CLASS)
ifEmpty() method (StreamEx class)
IF–ELSE CHAINS
if–else chains
IMMUTABLECOLLECTION CLASS
ImmutableCollection class
INDEXOF() METHOD
indexOf() method, 2nd, 3rd, 4th, 5th
checking result of
recursive implementation, 2nd
INDEXOUTOFBOUNDSEXCEPTION
IndexOutOfBoundsException, 2nd, 3rd
INFINITE RECURSION INSPECTION
Infinite Recursion inspection, 2nd
INITIALIZATION
initialization
class initialization order, 2nd
enum initialization loop
incorrect initialization order
subclass fields
INPUTSTREAM.READ() METHOD
InputStream.read() method, 2nd, 3rd
INSPECTION PROFILE
inspection profile
INSTANCEOF OPERATOR
instanceof operator, 2nd, 3rd, 4th, 5th, 6th
and different class loaders, 2nd
dominating condition, 2nd
in equals() implementation
to protect cast, 2nd
INT TYPE
int type, 2nd, 3rd, 4th, 5th
comparison
literal
overflow
INTEGER CLASS
Integer class
compare() method, 2nd
INTEGER DIVISION IN FLOATING POINT CONTEXT INSPECTION
Integer Division in Floating Point Context inspection
INTEGER MULTIPLICATION OR SHIFT IMPLICITLY CAST TO LONG INSPECTION
Integer Multiplication or Shift Implicitly Cast to long inspection, 2nd
INTEGERCACHE CLASS
IntegerCache class
INTELLIJ IDEA
IntelliJ IDEA, 2nd, 3rd, 4th, 5th, 6th
INTELLIJ IDEA INSPECTION
IntelliJ IDEA inspection
Assertion Is Suppressed by catch
Assignment to Static Field from Instance Context
Assignment to for Loop Parameter
Call to String.toUpperCase() or toLowerCase() Without a Locale
Cast Conflicts With instanceof
Comparison to Double.NaN or Float.NaN
Confusing Argument to Varargs Method
Constant Values, 2nd, 3rd, 4th
Fallthrough in Switch Statement
Idempotent Loop Body
Infinite Recursion
Integer Division in Floating Point Context
Integer Multiplication or Shift Implicitly Cast to long, 2nd
Iterable Is Used as Vararg
JUnit Malformed Declaration
Loop Executes Zero or Billions of Times
Malformed Format String
Method Does Not Call Super Method
Mismatched Case in String Operation
Multiple Operators with Different Precedence
Negative int Hexadecimal Constant in long Context
Non-Short-Circuit Boolean Expression
Non-terminal Use of ’\\\s’ Escape Sequence
Null-Check Method Is Called with Obviously Non-null Argument
Nullability and Data Flow Problems, 2nd, 3rd, 4th, 5th, 6th, 7th
Number Comparison Using ==, Instead of equals(), 2nd
Numeric Cast That Loses Precision
Numeric Overflow
Octal Integer
Overridable Method Called During Object Construction
Replacement Operation Has No Effect
Result of Method Call Ignored, 2nd
Return of null
Static Initializer References Subclass
String Comparison Using ==, Instead of equals()
Subtraction in compareTo()
Suspicious Class.getClass() Call
Suspicious Collections Method Calls, 2nd
Suspicious Comparator.compare() Implementation
Suspicious Date Format Pattern
Suspicious List.remove() in the Loop
Suspicious Oddness Check
Suspicious Regex Expression Argument
Suspicious Ternary Operator in Varargs Method Call
Suspicious Usage of Compare Method
Throwable Not Thrown
Too Weak Variable Type Leads to Unnecessary Cast
assert Statement with Side Effects
compare() Method Can Be Used to Compare Numbers
equals() Between Objects of Inconvertible Types, 2nd
equals() Called on Itself
equals() Called on StringBuilder
equals() Called on java.math.BigDecimal
hashCode() Called on Array
INTERRUPTED() METHOD (THREAD CLASS)
interrupted() method (Thread class)
INTSTREAM.RANGECLOSED() METHOD
IntStream.rangeClosed() method
INVOKESTATIC INSTRUCTION
invokestatic instruction
ISDIGIT() METHOD (CHARACTER CLASS)
isDigit() method (Character class), 2nd
ISDIRECTORY() METHOD (FILES CLASS)
isDirectory() method (Files class)
ISEMPTY() METHOD (COLLECTION INTERFACE)
isEmpty() method (Collection interface), 2nd
ISINSTANCE() METHOD (CLASS CLASS)
isInstance() method (Class class)
ISREGULARFILE() METHOD (FILES CLASS)
isRegularFile() method (Files class)
ITERATOR INTERFACE
Iterator interface
hasNext() method, 2nd, 3rd
next() method
remove() method
violating contracts, 2nd
ITERATOR() METHOD (ITERABLE INTERFACE)
iterator() method (Iterable interface)
JAVA CONCURRENCY IN PRACTICE ANNOTATIONS
Java Concurrency in Practice annotations
JAVA LANGUAGE SPECIFICATION (JLS)
Java Language Specification (JLS), 2nd
JAVA SPECIFICATION REQUEST (JSR)
Java Specification Request (JSR)
JAVA VIRTUAL MACHINES (JVMS)
Java virtual machines (JVMs)
JAVA.UTIL.CONCURRENT APIS
java.util.concurrent APIs
JAVAP TOOL
javap tool
JDT ANNOTATIONS FOR ENHANCED NULL ANALYSIS
JDT Annotations for Enhanced Null Analysis
JETBRAINS ANNOTATIONS
JetBrains annotations
JIT (JUST-IN-TIME)
JIT (just-in-time)
JSTACK TOOL
jstack tool
JUNIT MALFORMED DECLARATION INSPECTION
JUnit Malformed Declaration inspection
KEYLISTENER INTERFACE
KeyListener interface
KLOCWORK
Klocwork
LEFT SHIFT
left shift
LENGTH() METHOD (STRING CLASS)
length() method (String class)
LINT
lint
LIST INTERFACE
List interface, 2nd, 3rd, 4th, 5th
add() method
copyOf() method
remove(index) method, 2nd
set() method
sort() method, 2nd
subList() method
LISTITERATOR INTERFACE
ListIterator interface
LOCALDATETIME CLASS
LocalDateTime class
getHour() method
LOCALINSPECTIONTOOL ABSTRACT CLASS
LocalInspectionTool abstract class
LOGICAL OPERATORS && AND ]] | 100_java_mistakes_and_how_to_avoid_them_-_index | logical operators && and | 100_java_mistakes_and_how_to_avoid_them_-_index | , 2nd LONG TYPE long type, 2nd, 3rd, 4th, 5th, 6th cast to narrowing overflow LOOP loop idempotent body of, 2nd not using variable of overflow wrong direction of, 2nd LOOP EXECUTES ZERO OR BILLIONS OF TIMES INSPECTION Loop Executes Zero or Billions of Times inspection MAIN() METHOD main() method, 2nd MALFORMED FORMAT STRING INSPECTION Malformed Format String inspection MAP INTERFACE Map interface, 2nd compute() method computeIfAbsent() method, 2nd, 3rd, 4th, 5th, 6th, 7th computeIfPresent() method merge() method, 2nd, 3rd put() method, 2nd, 3rd putIfAbsent() method, 2nd MAP() METHOD (STREAM INTERFACE) map() method (Stream interface), 2nd MAPS maps concurrent modification during iteration, 2nd MATH UTILITY CLASS Math utility class *Exact methods abs() method, 2nd, 3rd absExact() method clamp() method floorMod() method, 2nd, 3rd hypot() method min() method sqrt() method, 2nd toIntExact() method MAX() METHOD max() method in Collections utility class, 2nd in Math utility class MAXBY() METHOD (COLLECTORS CLASS) maxBy() method (Collectors class) MERGE() METHOD (MAP INTERFACE) merge() method (Map interface), 2nd METHOD DOES NOT CALL SUPER METHOD INSPECTION Method Does Not Call Super Method inspection METHOD REFERENCES method references, 2nd MIN() METHOD min() method in Collections utility class, 2nd in Math utility class MISMATCHED CASE IN STRING OPERATION INSPECTION Mismatched Case in String Operation inspection MODCOUNT FIELD modCount field MOUNT --RBIND COMMAND mount --rbind command MULTIPLE OPERATORS WITH DIFFERENT PRECEDENCE INSPECTION Multiple Operators with Different Precedence inspection MUTABLE OBJECTS, AS KEYS mutable objects, as keys, 2nd MUTATION COVERAGE mutation coverage MVN INSTALL COMMAND mvn install command MVN PACKAGE COMMAND mvn package command NAN VALUES NaN values, 2nd NEGATIVE INT HEXADECIMAL CONSTANT IN LONG CONTEXT INSPECTION Negative int Hexadecimal Constant in long Context inspection NEGATIVE NUMBERS negative numbers due to overflow hexadecimal in byte type result of Math.abs() method, 2nd NEW EXPRESSION new expression NEWLY CREATED OBJECTS newly created objects NON-NULLABLE VARIABLES non-nullable variables NON-SHORT-CIRCUIT BOOLEAN EXPRESSION INSPECTION Non-Short-Circuit Boolean Expression inspection NON-SHORT-CIRCUIT LOGIC OPERATORS non-short-circuit logic operators, 2nd NON-TERMINAL USE OF ’\\\S’ ESCAPE SEQUENCE INSPECTION Non-terminal Use of ’\\\s’ Escape Sequence inspection NULL ELEMENTS null elements, 2nd, 3rd NULL VALUES null values in maps, 2nd NULL-CHECK METHOD IS CALLED WITH OBVIOUSLY NON-NULL ARGUMENT INSPECTION Null-Check Method Is Called with Obviously Non-null Argument inspection NULLABILITY AND DATA FLOW PROBLEMS INSPECTION Nullability and Data Flow Problems inspection, 2nd, 3rd, 4th, 5th, 6th NULLPOINTEREXCEPTION NullPointerException, 2nd, 3rd, 4th, 5th, 6th, 7th defensive checks, 2nd nullity annotations, 2nd static analysis NULLS nulls nullity annotations searching for in null-hostile collection NULLSFIRST() METHOD (COMPARATOR INTERFACE) nullsFirst() method (Comparator interface), 2nd NUMBER CLASS Number class NUMBER COMPARISON USING ==, INSTEAD OF EQUALS() INSPECTION Number Comparison Using ==, Instead of equals() inspection NUMBERS numbers Integer.MIN_VALUE, 2nd bit-manipulating algorithms, 2nd clamping order division and compound assignment negative hexadecimal values oddness check and negative numbers rounding during integer division special floating-point numbers, 2nd NUMERIC CAST THAT LOSES PRECISION INSPECTION Numeric Cast That Loses Precision inspection NUMERIC OPERATOR PRECEDENCE numeric operator precedence, 2nd binary shift bitwise operators NUMERIC OVERFLOW numeric overflow assigning result of int multiplication to long variable file size, time, and financial computations, 2nd NUMERIC OVERFLOW INSPECTION Numeric Overflow inspection OBJECT CLASS Object class, 2nd comparing objects equals() method, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th hashCode() method, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th malformed implementation, 2nd toString() method using on unrelated types OBJECTS objects comparing comparing, 2nd, 3rd, 4th, 5th not using newly created searching of unrelated type OBJECTS CLASS Objects class checkFromIndexSize() method checkFromToIndex() method checkIndex() method equals() method, 2nd hash() method, 2nd requireNonNullElse() method OCTAL INTEGER INSPECTION Octal Integer inspection OCTAL LITERALS octal literals OPCODESTACK.ITEM CLASS OpcodeStack.Item class OPCODESTACKDETECTOR CLASS OpcodeStackDetector class OPTIONAL CLASS Optional class, 2nd OR ( | 100_java_mistakes_and_how_to_avoid_them_-_index | ) OPERATOR or ( | 100_java_mistakes_and_how_to_avoid_them_-_index | ) operator OVERFLOW overflow numeric PAIR PROGRAMMING pair programming PARALLELSTREAM() METHOD (COLLECTION INTERFACE) parallelStream() method (Collection interface) PARENTHESES, MISSING IN CONDITIONS parentheses, missing in conditions && and | 100_java_mistakes_and_how_to_avoid_them_-_index | replace Should Be Preferred to String#replaceAll StringBuilder and StringBuffer Should Not Be Instantiated with a Character Strings and Boxed Types Should Be Compared Using equals() The Value Returned From a Stream Read Should Be Checked URL.hashCode and URL.equals Should Be Avoided Week Year (YYYY) Should Not Be Used for Date Formatting equals(Object obj) Should Test Argument Type for Loop Stop Conditions Should Be Invariant indexOf Checks Should Not Be for Positive Numbers min and max Used in Combination Should not Always Return the Same Value null Should Not Be Used with Optional SORT() METHOD (LIST INTERFACE) sort() method (List interface), 2nd SPLIT() METHOD (STRING CLASS) split() method (String class) SPOTBUGS SpotBugs, 2nd SPOTBUGS WARNING SpotBugs warning Bad Attempt to Compute Absolute Value of Signed 32-bit Hashcode Bad Attempt to Compute Absolute Value of Signed Random Integer Check for Oddness That Won’t Work for Negative Numbers Code Checks for Specific Values Returned by compareTo Computation of Average Could Overflow Exception Created and Dropped Rather than Thrown Impossible Cast and Impossible Downcast Incorrect Combination of Math.max and Math.min Method With Optional Return Type Returns Explicit null Result of Integer Multiplication Cast to Long Switch Statement Found Where One Case Falls Through to the Next Case Unchecked/Unconfirmed Cast Unchecked/Unconfirmed Cast of Return Value from Method SS (GERMAN LETTER) ß (German letter) SSR (STRUCTURAL SEARCH AND REPLACEMENT), IN INTELLIJ IDEA SSR (Structural Search and Replacement), in IntelliJ IDEA STACK CLASS Stack class STACKOVERFLOWERROR StackOverflowError deep but finite recursion, 2nd infinite recursion, 2nd STANDALONE EXPRESSIONS standalone expressions STARTSWITH() METHOD (STRING CLASS) startsWith() method (String class) STATIC ANALYSIS static analysis Error Prone plugins, 2nd IDEA plugin, 2nd SpotBugs plugins, 2nd limitations of, 2nd plugins using, 2nd warnings, 2nd, 3rd, 4th, 5th, 6th STATIC ANALYZERS static analyzers, 2nd STATIC FIELDS static fields, 2nd accidental declaration of, 2nd STREAM API Stream API consuming stream twice, 2nd violating contract of operations STREAM INTERFACE Stream interface, 2nd, 3rd, 4th count() method, 2nd, 3rd filter() method limit() method map() method max() method min() method parallel() method peek() method reduce() method, 2nd sequential() method skip() method toArray() method STREAMEX LIBRARY StreamEx library, 2nd, 3rd, 4th STREAMS, NULL VALUES IN streams, null values in STRING CLASS String class format() method, 2nd, 3rd, 4th formatted() method indexOf() method, 2nd length() method regionMatches() method repeat() method replace() method, 2nd, 3rd replaceAll() method, 2nd, 3rd replaceFirst() method split() method startsWith() method toLowerCase() method, 2nd toUpperCase() method, 2nd, 3rd STRING LITERALS, MULTILINE string literals, multiline STRINGBUILDER CLASS StringBuilder class append() method appendCodePoint() method constructor, 2nd passing char to constructor STRINGBUILDER CONSTRUCTOR CALL WITH CHAR ARGUMENT WARNING StringBuilder Constructor Call with char Argument warning STRINGINDEXOUTOFBOUNDSEXCEPTION StringIndexOutOfBoundsException, 2nd STRINGS strings case conversions comparing in different case escape sequences, 2nd incorrect Boolean conversion mismatched format arguments, 2nd mixing arguments of indexOf() regular expressions STRINGUTILS CLASS StringUtils class substringAfter() method STRIPTRAILINGZEROS() METHOD (BIGDECIMAL CLASS) stripTrailingZeros() method (BigDecimal class) SUBLIST() METHOD (LIST INTERFACE) subList() method (List interface) SUBSTRING() METHOD (STRING CLASS) substring() method (String class) SUBTRACTION IN COMPARETO() INSPECTION Subtraction in compareTo() inspection SUBTRACTION, USING WHEN COMPARING NUMBERS subtraction, using when comparing numbers SUPERCLASS METHOD CALLS superclass method calls SURROGATE PAIR surrogate pair, 2nd SUSPICIOUS CLASS.GETCLASS() CALL INSPECTION Suspicious Class.getClass() Call inspection SUSPICIOUS COLLECTIONS METHOD CALLS INSPECTION Suspicious Collections Method Calls inspection, 2nd SUSPICIOUS COMPARATOR.COMPARE() IMPLEMENTATION INSPECTION Suspicious Comparator.compare() Implementation inspection SUSPICIOUS DATE FORMAT PATTERN INSPECTION Suspicious Date Format Pattern inspection SUSPICIOUS LIST.REMOVE() IN THE LOOP INSPECTION Suspicious List.remove() in the Loop inspection SUSPICIOUS ODDNESS CHECK INSPECTION Suspicious Oddness Check inspection SUSPICIOUS TERNARY OPERATOR IN VARARGS METHOD CALL INSPECTION Suspicious Ternary Operator in Varargs Method Call inspection SUSPICIOUS USAGE OF COMPARE METHOD INSPECTION Suspicious Usage of Compare Method inspection SWITCH EXPRESSIONS switch expressions SWITCH STATEMENT switch statement, 2nd, 3rd, 4th accidental pass through TDD (TEST-DRIVEN DEVELOPMENT) TDD (test-driven development) TERNARY OPERATOR ternary operator, 2nd TESTNG FRAMEWORK TestNG framework THEN BRANCH then branch THROW STATEMENT throw statement THROWABLE CLASS Throwable class THROWABLE NOT THROWN INSPECTION Throwable Not Thrown inspection TIMEUNIT ENUM TimeUnit enum TIMSORT ALGORITHM TimSort algorithm, 2nd TITIN PROTEIN titin protein TOLIST() METHOD (STREAM INTERFACE) toList() method (Stream interface) TOO WEAK VARIABLE TYPE LEADS TO UNNECESSARY CAST INSPECTION Too Weak Variable Type Leads to Unnecessary Cast inspection TOSTRING() METHOD toString() method TOUPPERCASE() METHOD (STRING CLASS) toUpperCase() method (String class) TRANSITIVITY transitivity TREESET CLASS TreeSet class TRUE CONSTANT (BOOLEAN CLASS) TRUE constant (Boolean class) TYPE CONVERSION, IMPLICIT type conversion, implicit, 2nd boxed numbers in conditional expressions, 2nd in compound assignments nested conditional expressions UNARY MINUS unary minus UNARY PLUS unary plus UNCHECKED CALLS unchecked calls UNCONDITIONAL NARROWING unconditional narrowing UNICODE CHARACTERS Unicode characters, 2nd UNIT TESTING unit testing assertNotEquals() method ignoring AssertionError in, 2nd malformed assertion method calls malformed exception test malformed test methods premature exit from test method UNMODIFIABLE COLLECTIONS unmodifiable collections UNMODIFIABLECOLLECTION() METHOD (COLLECTIONS CLASS) unmodifiableCollection() method (Collections class) UNMODIFIABLELIST() METHOD (COLLECTIONS CLASS) unmodifiableList() method (Collections class), 2nd UNSIGNED HEXADECIMAL unsigned hexadecimal UNSIGNED RIGHT SHIFT unsigned right shift UPDATEANDGET() METHOD (ATOMICINTEGER CLASS) updateAndGet() method (AtomicInteger class) URI CLASS URI class , 2nd URL CLASS URL class URLCLASSLOADER CLASS URLClassLoader class VALUES() METHOD (ENUM CLASS) values() method (enum class), 2nd VAR KEYWORD var keyword VARIABLE ARITY CALLS variable arity calls, 2nd, 3rd ambiguous mixing array and collection using primitive array in VISITMETHODCALLEXPRESSION() METHOD (JAVAELEMENTVISITOR CLASS) visitMethodCallExpression() method (JavaElementVisitor class) WEAK REFERENCES weak references, 2nd WEAKREFERENCE CLASS WeakReference class WIDENING widening, 2nd, 3rd, 4th XLINT\ Xlint\ rawtypes command line option ---- ==Fair Use Sources== [[Fair Use Sources:
Java Vocabulary List (Sorted by Popularity)
Java Programming Language, Java Virtual Machine (JVM), Java Development Kit (JDK), Java Runtime Environment (JRE), Java Class, Java Interface, Java Method, Java Object, Java Package, Java String, Java Integer, Java Array, Java List, Java Map, Java Set, Java Exception, Java Thread, Java Synchronization, Java Generic, Java Annotation, Java Stream, Java Lambda Expression, Java Inheritance, Java Polymorphism, Java Encapsulation, Java Abstraction, Java Access Modifier, Java Constructor, Java Overloading, Java Overriding, Java Collection Framework, Java ArrayList, Java HashMap, Java HashSet, Java LinkedList, Java TreeMap, Java TreeSet, Java Iterator, Java Enumeration, Java File, Java InputStream, Java OutputStream, Java Reader, Java Writer, Java BufferedReader, Java BufferedWriter, Java PrintWriter, Java PrintStream, Java Scanner, Java StringBuilder, Java StringBuffer, Java Character, Java Boolean, Java Double, Java Float, Java Byte, Java Short, Java Long, Java BigInteger, Java BigDecimal, Java ClassLoader, Java Reflection, Java Proxy, Java Dynamic Proxy, Java Inner Class, Java Static Nested Class, Java Anonymous Class, Java Enum, Java Autoboxing, Java Auto-Unboxing, Java Garbage Collection, Java Memory Model, Java Just-In-Time Compilation, Java Classpath, Java Module, Java Module Path, Java Record, Java Sealed Class, Java Switch Expression, Java Pattern Matching for instanceof, Java Text Block, Java Var Keyword, Java Interface Default Method, Java Interface Static Method, Java Functional Interface, Java SAM (Single Abstract Method) Interface, Java Optional, Java Stream API, Java Collectors, Java Parallel Streams, Java Concurrency Package, Java Executor, Java ExecutorService, Java Future, Java CompletableFuture, Java ForkJoinPool, Java ReentrantLock, Java Semaphore, Java CountDownLatch, Java CyclicBarrier, Java Phaser, Java BlockingQueue, Java ConcurrentHashMap, Java AtomicInteger, Java AtomicLong, Java AtomicReference, Java AtomicBoolean, Java Lock Interface, Java ReadWriteLock, Java Condition, Java ThreadLocal, Java Synchronized Keyword, Java Volatile Keyword, Java Notify, Java Wait, Java Monitor, Java ReentrantReadWriteLock, Java ConcurrentLinkedQueue, Java PriorityQueue, Java Deque, Java ArrayDeque, Java SortedMap, Java SortedSet, Java NavigableMap, Java NavigableSet, Java EnumSet, Java EnumMap, Java WeakHashMap, Java LinkedHashMap, Java LinkedHashSet, Java IdentityHashMap, Java TreeMap Comparator, Java HashCode, Java Equals Method, Java CompareTo Method, Java Cloneable Interface, Java Serializable Interface, Java Externalizable Interface, Java Serialization Mechanism, Java ObjectOutputStream, Java ObjectInputStream, Java Transient Keyword, Java Persistence, Java JDBC (Java Database Connectivity), Java SQL Package, Java PreparedStatement, Java ResultSet, Java DriverManager, Java Connection, Java Statement, Java CallableStatement, Java RowSet, Java Bean, Java PropertyDescriptor, Java Introspector, Java BeanInfo, Java Enterprise Edition, Java Servlet, Java ServletContext, Java HttpServlet, Java HttpServletRequest, Java HttpServletResponse, Java Session, Java Filter, Java Listener, Java JSP (Java Server Pages), Java Expression Language, Java JSTL (JavaServer Pages Standard Tag Library), Java JDBC RowSet, Java DataSource, Java JNDI (Java Naming and Directory Interface), Java RMI (Remote Method Invocation), Java RMI Registry, Java RMI Stub, Java RMI Skeleton, Java RMI Remote Interface, Java CORBA Support, Java IDL, Java NamingException, Java InitialContext, Java Context Lookup, Java Message Service (JMS), Java Mail API, Java Bean Validation, Java Security Manager, Java Policy, Java Permission, Java AccessController, Java PrivilegedAction, Java KeyStore, Java TrustStore, Java SSLContext, Java Cipher, Java MessageDigest, Java KeyFactory, Java SecretKey, Java PublicKey, Java PrivateKey, Java Certificate, Java SecureRandom, Java SecureClassLoader, Java GSS-API (Generic Security Services), Java SASL (Simple Authentication and Security Layer), Java JAAS (Java Authentication and Authorization Service), Java Kerberos Integration, Java PKI (Public Key Infrastructure), Java JCE (Java Cryptography Extension), Java JCA (Java Cryptography Architecture), Java AWT (Abstract Window Toolkit), Java Swing, Java JFrame, Java JPanel, Java JLabel, Java JButton, Java JTextField, Java JTextArea, Java JScrollPane, Java JList, Java JComboBox, Java JTable, Java JTree, Java JDialog, Java JOptionPane, Java JProgressBar, Java JSlider, Java JSpinner, Java BoxLayout, Java BorderLayout, Java FlowLayout, Java GridLayout, Java GridBagLayout, Java CardLayout, Java LayoutManager, Java Drag and Drop, Java Clipboard, Java ImageIO, Java BufferedImage, Java Graphics2D, Java Font, Java Color, Java GradientPaint, Java TexturePaint, Java Stroke, Java Shape, Java AffineTransform, Java Path2D, Java BasicStroke, Java RenderingHints, Java GraphicsEnvironment, Java Robot, Java PrintService, Java PrinterJob, Java Paint Event, Java SwingUtilities, Java Pluggable LookAndFeel, Java Metal LookAndFeel, Java Nimbus LookAndFeel, Java Accessibility API, Java Sound API, Java MIDI, Java Clip, Java AudioInputStream, Java Sequencer, Java Synthesizer, Java Line, Java Port, Java Mixer, Java DataLine, Java Applet, Java Web Start, Java FX (JavaFX), Java SceneGraph, Java Node (JavaFX), Java Stage (JavaFX), Java Scene (JavaFX), Java Pane (JavaFX), Java GridPane, Java BorderPane, Java HBox, Java VBox, Java StackPane, Java AnchorPane, Java FlowPane, Java TilePane, Java Label (JavaFX), Java Button (JavaFX), Java TextField (JavaFX), Java TextArea (JavaFX), Java ChoiceBox, Java ComboBox (JavaFX), Java ListView, Java TableView, Java TreeView, Java WebView, Java Observable, Java Property (JavaFX), Java Binding (JavaFX), Java CSS (JavaFX), Java FXML, Java MediaPlayer, Java SwingNode, Java HTMLEditor (JavaFX), Java Concurrency in JavaFX, Java ScheduledExecutorService, Java Timer, Java TimerTask, Java ThreadPoolExecutor, Java WorkStealingPool, Java Callable, Java Runnable, Java FutureTask, Java LockSupport, Java Phaser Parties, Java Thread Dump, Java Heap Dump, Java Flight Recorder, Java Mission Control, Java JVMTI (JVM Tool Interface), Java JMX (Java Management Extensions), Java MBean, Java MBeanServer, Java MXBean, Java GarbageCollectorMXBean, Java MemoryMXBean, Java OperatingSystemMXBean, Java ThreadMXBean, Java CompilationMXBean, Java ClassLoadingMXBean, Java PlatformManagedObject, Java Instrumentation API, Java Attach API, Java JVMDebugger, Java JDWP (Java Debug Wire Protocol), Java JDI (Java Debug Interface), Java JShell, Java Scripting API, Java Nashorn (JavaScript Engine), Java XML Processing, Java DOM Parser, Java SAX Parser, Java StAX Parser, Java JAXB (Java Architecture for XML Binding), Java JAXP (Java API for XML Processing), Java SOAP, Java JAX-WS (Java API for XML Web Services), Java RESTful Web Services (JAX-RS), Java JSON Processing (JSON-P), Java JSON Binding (JSON-B), Java CDI (Contexts and Dependency Injection), Java EJB (Enterprise JavaBeans), Java JMS (Java Message Service), Java JTA (Java Transaction API), Java Bean Validation (JSR 380), Java Dependency Injection Frameworks, Java Spring Framework, Java Spring Boot, Java Hibernate (Java Persistence Framework), Java JPA (Java Persistence API), Java JAX-RPC (Java API for XML-based RPC), Java AppServer, Java GlassFish, Java WildFly, Java Liberty Profile, Java Tomcat, Java Jetty, Java Undertow, Java OSGi (Open Service Gateway Initiative), Java Pax Exam, Java RAP (Remote Application Platform), Java RCP (Rich Client Platform), Java Equinox, Java Tycho Build, Java Lombok, Java Guava, Java SLF4J (Simple Logging Facade for Java), Java Logback, Java JUL (Java Util Logging), Java Log4j, Java Commons Collections, Java Commons IO, Java Commons Lang, Java HTTPClient, Java URLConnection, Java URI Class, Java URL Class, Java Cookie Handler, Java HTTPServer, Java WebSocket API, Java AppletViewer, Java RMIClassLoader, Java JVMPauseDetector, Java Memory Settings, Java System Properties, Java Environment Variables (As Accessed by Java), Java ServiceLoader, Java SPI (Service Provider Interface), Java Instrumentation Rewriting, Java Agent Attaching, Java Runtime Exec, Java ProcessHandle, Java ProcessBuilder, Java ScriptingEngineManager, Java ScriptEngine, Java ScriptContext, Java CompiledScript, Java FX Application Thread, Java FXProperty, Java FXObservableValue, Java FXKeyFrame, Java FXTimeline, Java FXTransition, Java FXImageView, Java FXCanvas, Java FX3D Features, Java AOT Compilation (jaotc), Java GraalVM Integration, Java JNI (Java Native Interface), Java NIO (Non-Blocking I/O), Java Path, Java Files Class, Java FileSystem, Java FileChannel, Java AsynchronousFileChannel, Java Socket, Java ServerSocket, Java DatagramSocket, Java MulticastSocket, Java SocketChannel, Java ServerSocketChannel, Java DatagramChannel, Java Pipe, Java FileLock, Java MappedByteBuffer, Java CharsetDecoder, Java CharsetEncoder, Java SecretKeySpec, Java KeySpec, Java KeyPair, Java KeyAgreement, Java KeyGenerator, Java Mac (Message Authentication Code), Java PolicySpi, Java SecureRandomSpi, Java CertPath, Java CertPathBuilder, Java CertPathValidator, Java TrustManager, Java KeyManager, Java SSLSession, Java SSLSocket, Java SSLServerSocket, Java SSLEngine, Java SSLParameters, Java HttpsURLConnection, Java DomainCombiner, Java Principal, Java Subject, Java LoginContext, Java CallbackHandler, Java TextField (Swing), Java TextPane, Java StyledDocument, Java AttributeSet, Java StyleConstants, Java AbstractDocument, Java DocumentFilter, Java Caret, Java Highlighter, Java UndoManager, Java DefaultStyledDocument, Java ViewFactory, Java EditorKit, Java KeyStroke, Java ActionMap, Java InputMap, Java RootPane, Java GlassPane, Java LayeredPane, Java MenuBar, Java MenuItem, Java JMenu, Java JMenuItem, Java JCheckBoxMenuItem, Java JRadioButtonMenuItem, Java PopupMenu, Java Popup, Java TooltipManager, Java DesktopManager, Java InternalFrame, Java InternalFrameUI, Java InternalFrameAdapter, Java DockingFrames, Java SystemTray, Java TrayIcon, Java Robot Class, Java PrintServiceLookup, Java FlavorMap, Java Transferable, Java DataFlavor, Java DragGestureRecognizer, Java DropMode, Java DropTargetAutoScroll, Java DropTargetContext, Java DropTargetListener, Java DropTargetDragEvent, Java DropTargetDropEvent, Java BasicLookAndFeel Class, Java SynthLookAndFeel, Java UIDefaults, Java UIManager, Java ClientPropertyKey, Java ImageIOSpi, Java ImageWriter, Java ImageReader, Java ImageInputStream, Java ImageOutputStream, Java IIOMetadata, Java BufferedImageOp, Java ColorModel, Java WritableRaster, Java IndexColorModel, Java Raster, Java RenderedImage, Java WritableRenderedImage, Java ImageTranscoder, Java ImageWriterSpi, Java ImageReaderSpi, Java Soundbank, Java MidiChannel, Java MidiDevice, Java MidiEvent, Java Sequence, Java MidiFileFormat, Java SoundFont, Java AudioSystem, Java AudioFormat, Java DataLine.Info, Java LineEvent, Java LineListener, Java Clip Class, Java SourceDataLine, Java TargetDataLine, Java Port.Info, Java Mixer.Info, Java Gervill (SoftSynthesizer), Java AccessBridge, Java AWTEvent, Java KeyEvent, Java MouseEvent, Java FocusEvent, Java WindowEvent, Java ComponentEvent, Java AdjustmentEvent, Java ContainerEvent, Java InputMethodEvent, Java HierarchyEvent, Java InvocationEvent, Java PaintEvent, Java DropTargetEvent, Java Peer Interface, Java AWTEventMulticaster, Java Toolkit, Java Desktop, Java GraphicsConfiguration, Java GraphicsDevice, Java AWTKeyStroke, Java TextHitInfo, Java TextLayout, Java TextAttribute, Java FontRenderContext, Java AttributedString, Java LineBreakMeasurer, Java Bidi, Java BreakIterator, Java Collator, Java Locale, Java ResourceBundle, Java Formatter, Java Format Conversion, Java SimpleDateFormat, Java DecimalFormat, Java MessageFormat, Java ChoiceFormat, Java ScannerDelimiter, Java System.Logger, Java Logger, Java Level, Java LogRecord, Java ConsoleHandler, Java FileHandler, Java MemoryHandler, Java SocketHandler, Java SimpleFormatter, Java XMLFormatter, Java Preferences, Java PreferenceChangeEvent, Java NodeChangeEvent, Java PrinterException, Java PrinterAbortException, Java PrintException, Java PrintQuality, Java PrintServiceAttribute, Java ServiceUI, Java Pageable, Java Printable, Java Book, Java TablePrintable, Java StreamPrintService, Java StreamPrintServiceFactory, Java Filer (Annotation Processing), Java Messager, Java ProcessingEnvironment, Java Element, Java ElementKind, Java ElementVisitor, Java PackageElement, Java TypeElement, Java VariableElement, Java ExecutableElement, Java AnnotationMirror, Java AnnotationValue, Java AnnotationProcessor, Java RoundEnvironment, Java TypeMirror, Java DeclaredType, Java ArrayType, Java TypeVariable, Java WildcardType, Java NoType, Java ErrorType, Java UnionType, Java IntersectionType, Java JavacTool, Java StandardJavaFileManager, Java Diagnostic, Java DiagnosticCollector, Java ForwardingJavaFileManager, Java ForwardingJavaFileObject, Java ForwardingJavaFileObject, Java SPI ServiceLoader, Java ToolProvider, Java DocumentationTool, Java JavaCompiler, Java JShellTool, Java DiagnosticListener, Java CompilationTask, Java ModuleElement, Java ModuleLayer, Java ModuleDescriptor, Java ModuleFinder
OLD before GPT Pro: Abstract Classes, Abstract Methods, Abstract Window Toolkit, Access Control Exception, Access Modifiers, Accessible Object, AccessController Class, Action Event, Action Listener, Action Performed Method, Adapter Classes, Adjustment Event, Adjustment Listener, Annotation Processing Tool, Annotations, AnnotationTypeMismatchException, Anonymous Classes, Applet Class, Applet Context, Applet Lifecycle Methods, Application Class Data Sharing, Array Blocking Queue, Array Index Out of Bounds Exception, Array List, Array Store Exception, Arrays Class, Assertion Error, Assertions, Assignment Operator, Asynchronous File Channel, Atomic Boolean, Atomic Integer, Atomic Long, Atomic Reference, Attribute Set, Audio Clip, Authentication Mechanisms, Auto Closeable Interface, Auto Boxing, AWT Components, AWT Event Queue, AWT Listeners, AWT Toolkit, Backing Store, Background Compilation, Batch Updates, Bean Context, Bean Descriptors, Bean Info, Big Decimal Class, Big Integer Class, Binary Compatibility, Binding Utilities, Bit Set Class, Bitwise Operators in Java, Blocking Queue Interface, Boolean Class, Bounded Wildcards, Breakpoint, Buffered Input Stream, Buffered Output Stream, Buffered Reader, Buffered Writer, BufferOverflowException, BufferUnderflowException, Button Class, Byte Array Input Stream, Byte Array Output Stream, Byte Order, ByteBuffer Class, Bytecode Instructions, Bytecode Verifier, Callable Interface, Callable Statement, Calendar Class, Canvas Class, Card Layout, Caret Listener, Case Sensitivity in Java, Casting in Java, Catch Block, Certificate Exception, Character Class, Character Encoding, Character Set, Character.UnicodeBlock, Charset Class, Checked Exceptions, Checkbox Class, Choice Component, Class Class, Class Files, Class Loader, Class Loader Hierarchy, Class Loading Mechanism, Class Not Found Exception, Class Object, Class Path, ClassCastException, ClassCircularityError, ClassFormatError, ClassLoader, ClassNotFoundException, Clone Method, CloneNotSupportedException, Cloneable Interface, Clipboard Class, Cloneable Interface, ClosedChannelException, Collections Framework, Collections Utility Class, Collector Interface, Collectors Class, Color Class, Column Major Order, Comparable Interface, Comparator Interface, Compiler API, Compiler Directives, Compiler Optimization, Component Class, Component Event, Component Listener, Composite Pattern, ConcurrentHashMap, ConcurrentLinkedQueue, ConcurrentModificationException, ConcurrentNavigableMap, ConcurrentSkipListMap, ConcurrentSkipListSet, Condition Interface, Connection Interface, Console Class, Constructor Overloading, Consumer Interface, Container Class, ContainerEvent, Content Handler, ContentHandlerFactory, Context Class Loader, Continue Statement, Control Flow Statements, CountDownLatch Class, CRC32 Class, Credential Management, Critical Section, CyclicBarrier Class, Daemon Threads, Data Class, Data Input Interface, Data Input Stream, Data Output Interface, Data Output Stream, Data Truncation Exception, Date Class, Daylight Saving Time Handling, Deadlock in Java, Debugging Techniques, DecimalFormat Class, Default Methods in Interfaces, Deflater Class, Deprecated Annotation, Design Patterns in Java, Desktop Class, Diamond Operator, Dialog Class, Dictionary Class, DigestInputStream, DigestOutputStream, Direct Byte Buffer, DirectoryStream Interface, Document Object Model, DOM Parsing in Java, Double Brace Initialization, Double Class, Drag and Drop API, Driver Manager, Drop Shadow Effect, Dynamic Binding, Dynamic Proxy Classes, Element Interface, Ellipse2D Class, EmptyStackException, Encapsulation in Java, Enum Classes, Enum Constant, EnumSet Class, Enumeration Interface, EOFException, Error Handling in Java, Error Prone Practices, Event Delegation Model, Event Handling Mechanism, Event Listener Interfaces, Event Object, Event Queue, EventQueue Class, Exception Chaining, Exception Handling Mechanism, Executable Jar Files, Executor Interface, Executor Service, Executors Class, Expression Evaluation, Extends Keyword, Externalizable Interface, File Class, File Channel, File Descriptor, File Filter Interface, File Input Stream, File Lock Mechanism, File Output Stream, File Permission, File Reader, File Writer, FileDialog Class, FilenameFilter Interface, FileNotFoundException, Final Classes, Final Keyword, Finally Block, Finalize Method, Finalizer Guardian Idiom, Float Class, Flow Layout, Flow API, Focus Listener, Font Class, For Each Loop, ForkJoinPool Class, Formatter Class, Frame Class, Functional Interfaces, Future Interface, FutureTask Class, Garbage Collection Mechanism, Garbage Collector, Generics in Java, Generic Methods, Generic Types, Geometry Classes, Glyph Vector, GradientPaint Class, Graphics Class, Graphics2D Class, Grid Bag Constraints, Grid Bag Layout, Grid Layout, GregorianCalendar Class, Group Layout, GUI Components in Java, GZIPInputStream, GZIPOutputStream, Hash Collision, Hash Function, Hash Map Class, Hash Set Class, Hashtable Class, HashCode Method, Headless Exception, Heap Memory, Hello World Program in Java, Hierarchical Inheritance, High-Level Concurrency API, HTTP Client in Java, HTTP Server in Java, Icon Interface, Identifier Naming Convention, If Statement, IllegalArgumentException, IllegalMonitorStateException, IllegalStateException, IllegalThreadStateException, Image Class, ImageIcon Class, Immutable Classes, Import Statement, InaccessibleObjectException, Inheritance in Java, InitialContext Class, Inner Classes, Input Method Framework, Input Stream, InputStreamReader Class, Instance Initializer Block, Instance Variables, InstantiationException, Integer Class, Integer Overflow and Underflow, InterruptedException, InterruptedIOException, Interface in Java, InternalError, Internationalization, IO Exception, IO Streams in Java, Iterable Interface, Iterator Interface, Jar Entry, Jar File, JarInputStream Class, JarOutputStream Class, Java Access Bridge, Java Annotations, Java API Documentation, Java Applets, Java Archive (JAR), Java Beans, Java Bytecode, Java Class Library, Java Collections Framework, Java Community Process, Java Compiler, Java Database Connectivity (JDBC), Java Development Kit (JDK), Java Documentation Comments, Java Flight Recorder, Java Garbage Collector, Java Generics, Java Memory Model, Java Native Interface (JNI), Java Naming and Directory Interface (JNDI), Java Network Launching Protocol (JNLP), Java Platform, Java Plugin, Java Reflection API, Java Remote Method Invocation (RMI), Java Runtime Environment (JRE), Java Security Manager, Java Serialization, Java Server Pages (JSP), Java Stream API, Java Swing, Java Virtual Machine (JVM), Java Web Start, JavaFX Platform, javax Package, Javadoc Tool, JAR Signing Mechanism, JDBC API, JDBC Drivers, JFrame Class, JIT Compiler, JLabel Class, JLayeredPane Class, JList Component, JMenu Component, JOptionPane Class, JPanel Class, JPasswordField Component, JProgressBar Component, JScrollBar Component, JScrollPane Component, JSeparator Component, JSlider Component, JSplitPane Component, JTabbedPane Component, JTable Component, JTextArea Component, JTextField Component, JTextPane Component, JToolBar Component, JTree Component, JVM Arguments, JVM Memory Model, Key Event, Key Listener Interface, Key Stroke Class, KeyException, KeySpec Interface, Keyword in Java, Label Class, Lambda Expressions in Java, Layout Manager, LayoutManager2 Interface, Lazy Initialization, Leaf Nodes, Legacy Classes in Java, LineNumberReader Class, Linked Blocking Queue, Linked Hash Map, Linked Hash Set, Linked List Class, List Interface, List Iterator Interface, Listener Interfaces in Java, Load Factor in HashMap, Locale Class, Lock Interface, Logger Class, Logging API in Java, Long Class, Main Method in Java, MalformedURLException, Map Interface, Map.Entry Interface, Marker Interface, Math Class, Media Tracker, Memory Leak in Java, Memory Management in Java, Menu Class, Message Digest, Method Chaining, Method Overloading, Method Overriding, Methods in Java, MIDI Devices in Java, Mouse Adapter Class, Mouse Event, Mouse Listener Interface, Multi-Catch Exception, Multi-Level Inheritance, Multicast Socket, Multidimensional Arrays, Mutable Objects in Java, Naming Convention in Java, Native Methods, Navigable Map, Navigable Set, Nested Classes in Java, Network Interface Class, NoClassDefFoundError, NoSuchFieldException, NoSuchMethodException, Non-Blocking IO (NIO), Null Pointer Exception, Number Class, Number Format Exception, NumberFormat Class, Object Class, Object Cloning, Object Input Stream, Object Oriented Programming, Object Output Stream, Object Serialization in Java, Observer Pattern, Observable Class, OpenGL in Java, Optional Class, OutOfMemoryError, Override Annotation, Package Declaration, Packages in Java, Paint Interface, Panel Class, Parallel Garbage Collector, Parameter Passing in Java, ParseException, Path Interface, Pattern Class, Piped Input Stream, Piped Output Stream, PixelGrabber Class, Point Class, Polymorphism in Java, Prepared Statement, Primitive Data Types in Java, PrintStream Class, PrintWriter Class, Priority Blocking Queue, Priority Queue Class, Private Access Modifier, Process Class, Process Builder Class, Progress Monitor Class, Properties Class, Protected Access Modifier, Proxy Class, Public Access Modifier, Queue Interface, RadioButton Class, Random Access File, Reader Class, ReadWriteLock Interface, Rectangle Class, Recursive Methods, Reflection API in Java, Reference Queue, Regular Expressions in Java, Remote Method Invocation (RMI), Render Quality, Repeatable Annotations, Resource Bundle Class, Resource Leak in Java, ResultSet Interface, ResultSetMetaData Interface, Retry Logic in Java, Return Statement in Java, Runnable Interface, Runtime Class, Runtime Error, Runtime Exception, Runtime Permissions, Runtime Polymorphism, Scanner Class, Scheduling in Java, Script Engine, Scroll Bar Component, Scroll Pane Component, Security Exception, Security Manager, Semaphore Class, Sequence Input Stream, Serializable Interface, ServerSocket Class, Service Loader, Set Interface, Setter Methods, Shared Memory in Java, Short Class, Single Inheritance, Singleton Pattern in Java, Socket Class, SocketTimeoutException, Sorted Map, Sorted Set, Splash Screen, Spring Framework, SQLException, SSL Socket, Stack Class, StackOverflowError, Standard Edition of Java, StandardOpenOption, Statement Interface, StreamTokenizer Class, Strictfp Keyword, String Buffer Class, String Builder Class, String Class, String Constant Pool, StringIndexOutOfBoundsException, String Interning, String Literal in Java, String Pool in Java, String Tokenizer Class, Strong Typing in Java, Structural Patterns, Stub Class, Subclasses in Java, Superclass in Java, Supplier Interface, Support Classes, Swing Components, Swing Timer, Switch Statement in Java, Synchronized Block, Synchronized Method, System Class, System Properties in Java, Tab Pane Component, Table Model Interface, TCP Connection in Java, Template Method Pattern, Text Area Component, Text Field Component, Text Listener Interface, Thread Class, Thread Group, Thread Interruption, Thread Local Class, Thread Priority, Thread Safety in Java, Thread Scheduling, Throwable Class, Time Zone Class, Timer Class, Timer Task Class, Toolkit Class, ToolTip Manager, Transferable Interface, Transient Keyword, Tree Map Class, Tree Set Class, Try With Resources Statement, Type Erasure in Java, Type Inference in Java, Type Parameters, UI Manager Class, Unary Operator Interface, Unchecked Exceptions, UndeclaredThrowableException, Unicode Support in Java, Unmodifiable Collection, Unsafe Class, URL Class, URLConnection Class, URLDecoder Class, URLEncoder Class, URLStreamHandler Class, URLClassLoader Class, User Interface Components, Varargs in Java, Variable Arguments, Variable Scope in Java, Vector Class, Vendor-Specific Extensions, Viewport Class, Virtual Machine in Java, Volatile Keyword, Wait and Notify Methods, Weak Hash Map, Weak Reference, While Loop in Java, Wildcard Generic Types, Window Adapter Class, Window Event, Window Listener Interface, Wrapper Classes in Java, Write Once Run Anywhere, XML Binding in Java, XML Parsing in Java, XML Schema in Java, XPath Expression in Java, XSLT Transformation in Java, Yield Method in Thread, Zip Entry, Zip File, Zip Input Stream, Zip Output Stream, ZoneId Class, ZoneOffset Class
Java: Java Best Practices (Effective Java), Java Fundamentals, Java Inventor - Java Language Designer: James Gosling of Sun Microsystems, Java Docs, JDK, JVM, JRE, Java Keywords, JDK 17 API Specification, java.base, Java Built-In Data Types, Java Data Structures - Java Algorithms, Java Syntax, Java OOP - Java Design Patterns, Java Installation, Java Containerization, Java Configuration, Java Compiler, Java Transpiler, Java IDEs (IntelliJ - Eclipse - NetBeans), Java Development Tools, Java Linter, JetBrains, Java Testing (JUnit, Hamcrest, Mockito), Java on Android, Java on Windows, Java on macOS, Java on Linux, Java DevOps - Java SRE, Java Data Science - Java DataOps, Java Machine Learning, Java Deep Learning, Functional Java, Java Concurrency, Java History,
Java Bibliography (Effective Java, Head First Java, Java - A Beginner's Guide by Herbert Schildt, Java Concurrency in Practice, Clean Code by Robert C. Martin, Java - The Complete Reference by Herbert Schildt, Java Performance by Scott Oaks, Thinking in Java, Java - How to Program by Paul Deitel, Modern Java in Action, Java Generics and Collections by Maurice Naftalin, Spring in Action, Java Network Programming by Elliotte Rusty Harold, Functional Programming in Java by Pierre-Yves Saumont, Well-Grounded Java Developer, Second Edition, Java Module System by Nicolai Parlog), Manning Java Series, Java Glossary - Glossaire de Java - French, Java Topics, Java Courses, Java Security - Java DevSecOps, Java Standard Library, Java Libraries, Java Frameworks, Java Research, Java GitHub, Written in Java, Java Popularity, Java Awesome List, Java Versions. (navbar_java and navbar_java_detailed - see also navbar_jvm, navbar_java_concurrency, navbar_java_standard_library, navbar_java_libraries, navbar_java_best_practices, navbar_openjdk, navbar_java_navbars, navbar_kotlin)
Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.