java.util
- Associating a Value with an Object
- Breaking a String into Words
- Creating a Custom Event
- Generating a Random Number
- Implementing a Simple Event Notifier
- Listing All Available Locales
- Setting the Default Locale
Arrays
- Comparing Arrays
- Converting a Collection to an Array
- Converting an Array to a Collection
- Filling Elements in an Array
- Shuffling the Elements of a List or Array
Bits
Collections
- Creating a Copy of a Collection
- Implementing a Least-Recently-Used (LRU) Cache
- Implementing a Queue
- Implementing a Stack
- Listing the Elements of a Collection
- Making a Collection Read-Only
- Storing Primitive Types in a Collection
Dates
- Comparing Dates
- Creating a Date Object for a Particular Date
- Determining a Person's Age
- Determining If a Year Is a Leap Year
- Determining the Day-of-Week for a Particular Date
- Determining the Number of Days in a Month
- Getting the Current Date
Hash Tables
- Automatically Removing an Unreferenced Element from a Hash Table
- Creating a Hash Table
- Creating a Map That Retains Order-of-Insertion
- Creating a Type-Specific Map [5.0]
Lists
Property Files
Sets
Sorted Collections
- Creating a Sorted Set
- Finding an Element in a Sorted Array
- Finding an Element in a Sorted Array
- Finding an Element in a Sorted List
- Inserting an Element into a Sorted Array
- Inserting an Element into a Sorted List
- Sorting an Array
Time
- Converting Times Between Time Zones
- Getting the Current Time
- Getting the Current Time in Another Time Zone
- Retrieving Information on All Available Time Zones