Lists in Java
Lists are a collection of elements that are ordered and not unique.
Nested vs Inner Classes in Java
Nested classes cannot access an outer classes variables or methods, whereas inner classes can.
Nested Classes in Java
Nested classes are classes declared inside another class marked as static.
Inner Classes in Java
Inner classes are non-static classes defined inside of another class.
Size vs Capacity in Java Collections
Size is the number of elements in a collection, whereas capacity is the size of the backing array.
Infinite Streams in Java
Infinite streams are similar to infinite loops but use a stream instead.
Spliterator in Java
Spliterators are used in Java streams and a way to process elements in parallel.
ListIterator in Java
ListIterator is a bidirectional iterator used in collections that implement the List interface.
Iterators in Java
Iterators are a way to traverse over the elements in a collection.
Arrays in Java
Arrays are a container object that contain a fixed number of elements of the same type.