Concept
What should you consider when sorting collections or arrays with null values?
ComputerScienceOne / Handling javanull values
"36.3.2. Handling null values\n\nWhen sorting collections or arrays of objects, we may need to consider the possibility of uninitialized null objects. Some collections allow null element(s) while others do"
Related Ideas
- How can you sort lists and arrays of students in Java?ComputerScienceOne · Handling javanull values
- What does the section on handling null values cover?ComputerScienceOne · Sorted Collections . . . . . . . . . . . . . . . . . . . . . . . . . . .
- What is type juggling in PHP?ComputerScienceOne · Handling Null Values in Java Comparators . . . . . . . . . . . . . . . . .
- How can a Java Comparator handle null values?ComputerScienceOne · Importance of javaequals() and javahashCode() Methods
- What are sorted collections in the Java Collections framework?ComputerScienceOne · Sorted Collections