Collections

suggest change

Collections

Removing items from a List within a loop

Constructing collections from existing data

Declaring an ArrayList and adding objects

Iterating over Collections

Usage of HashMap

Immutable Empty Collections

Unmodifiable Collection

Sub Collections

Pitfall concurrent modification exceptions

Removing matching items from Lists using Iterator.

Join lists

Creating your own Iterable structure for use with Iterator or for-each loop.

Collections and Primitive Values

Sorting a generic list

The usage of the PriorityQueue

BlockingQueue

LinkedList as a FIFO Queue

Stacks

Types and Usage of Sets

Declaring a HashSet with values

Concurrent Collections

Queue Interface

Thread-safe Collections

Insertion into ConcurrentHashMap

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents