1. Stringhistorical

    1. What String is. 2. Usage. 3. Source analysis: class definition, constructors, constant pool, equals, toCharArray, toString, valueOf, intern, and substring. 4. Common questions. 5. References.

  2. 5.10 LinkedListhistorical

    What LinkedList is, usage, and source analysis of its doubly linked list, add/remove operations, and node traversal.

  3. LinkedHashMaphistorical

    What LinkedHashMap is, insertion-order and access-order usage, and source analysis of construction, put, get, contains, remove, and iteration.

  4. Immutable Objecthistorical

    How to create an immutable object.

  5. LinkedHashSethistorical

    Usage, constructor, fields, other methods, and summary of LinkedHashSet.

  6. StringBufferhistorical

    1. What It Is: a thread-safe mutable string, essentially StringBuilder with synchronized methods. 2. Usage. 3. Implementation analysis: constructor, append, toString, and substring.

  7. Converting Between List and Arrayhistorical

    Convert Array to List and List to Array.

  8. Java Map Implementations Comparedhistorical

    Comparison of HashMap 1.7 and 1.8, HashMap and Hashtable, and TreeMap, LinkedHashMap, and HashMap.

  9. Collections.synchronizedSethistorical

    Synchronized Set wrappers and the need for external synchronization during compound operations and iteration.

  10. StringBuilderhistorical

    1. What It Is: a mutable, thread-unsafe string. 2. Usage. 3. Implementation analysis: constructor, append, toString, and substring.