ObjectSpace Homepage

JGL - The Generic Collection Library for Java
Documentation API Guide

Version 3.1
User Guide

 
Chapters
Table of Contents

Chapters

  1. Preface 6. Sets 11. Iterators
2. Overview 7. Queues And Stacks 12. Voyager
3. Containers 8. Array Adapters 13. Summary Of Classes
4. Sequences 9. Algorithms 14. Appendix
5. Maps 10. Function Objects

Table of Contents

1. Preface
Dedications
Acknowledgements
Purpose and Audience
How to use this Document
Installation
Package Layout and Contents
Reading the Online Documentation
Compiling the Library
Running Examples
Submitting Feedback
Getting Updates
2. Overview
What is JGL™?
Changes in Version 3.x
Packages in JGL
JGL and the JDK
Containers
Algorithms
Function Objects
Iterators
ObjectSpace Voyager™
Performance
3. Containers
Container Interfaces
Storing Objects and Primitives
Adding, Printing, Clearing and Sizing
Enumerating
Copying, Comparing, Assignment, and Cloning
Swapping
Storing Primitives
Storing User-Defined Objects
Error Handling
Array Adapters
4. Sequences
Pushing, Popping, and Index-Based Access
Counting, Finding, Removing, and Replacing
Inserting
Ensuring Capacity
Constructing from a Native Java Array
Splicing
Miscellaneous
5. Maps
Putting and Getting
Enumerating
Ordering
Removing and Counting
Matching Keys
Pairs
6. Sets
Putting and Getting
Ordering
Removing and Counting
Matching Objects
Union, Intersection, and other Set Operations
7. Queues And Stacks
Stack
Queue
PriorityQueue
8. Array Adapters
Using a Native Java Array as a Container
Using a JDK Vector as a Container
9. Algorithms
List of Algorithms by Category
Sorting
Copying
Counting
Replacing
Reversing
Transforming
Applying an Algorithm to a Sub-Range of a Container
10. Function Objects
Predicates
General Functions
Binders
Composers
Creating your own Function Objects
11. Iterators
Iterators and Algorithms
Iterators and Containers
Reverse Iterators
Insertion Iterators
Iterating over Java Streams
12. Voyager
Remote Creation and Access
Remote Iteration
Remote Algorithms
Persistence
11. Summary Of Classes
Containers
Exceptions
Algorithms
Function Objects
Iterators
Utilities
14. Appendix
Benchmarks
A Comparison of JGL vs. STL
JGL License Agreement
Changes since JGL 1.1
Contents