This is simple example of not knowing some little details in the collections world of Java. List has overloaded method remove(int index) remove(Object o). The first run we remove item from list by index because i is primitive type. The second run we remove the value of the list were it is object from the class Integer.
-
Notifications
You must be signed in to change notification settings - Fork 0
AlexanderVladimirov9090/SetList
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Latest commit | ||||
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published