Found a total of 1 related content
Item - Return empty collections or arrays rather than null
Article Introduction:Do not return null:
Methods that return null in place of empty collections or arrays require additional client handling to avoid exceptions.
Problems with null:
Clients need to add redundant checks (if to check for null).
THE
2024-09-13
comment 0
555