Class IntrusiveCollection<E extends IntrusiveCollection.Element>

java.lang.Object
org.apache.hadoop.util.IntrusiveCollection<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>

@Private public class IntrusiveCollection<E extends IntrusiveCollection.Element> extends Object implements Collection<E>
Implements an intrusive doubly-linked list. An intrusive linked list is one in which the elements themselves are responsible for storing the pointers to previous and next elements. This can save a lot of memory if there are many elements in the list or many lists.