Version 3.1 Documentation
Chapters
Table of Contents
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
Overview
What is JGL
Changes in Version 3.x
Packages in JGL
JGL and the JDK
Containers
Algorithms
Function Objects
Iterators
ObjectSpace Voyager™
Performance
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
Sequences
Pushing, Popping, and Index-based Access
Counting, Finding, Removing, and Replacing
Inserting
Ensuring Capacity
Constructing From a Native Java array
Splicing
Miscellaneous
Maps
Putting and Getting
Enumerating
Ordering
Removing and Counting
Matching Keys
Pairs
Sets
Putting and Getting
Ordering
Removing and Counting
Matching Objects
Union, Intersection, and other Set Operations
Queues and Stacks
Stack
Queue
PriorityQueue
Array Adapters
Using a Native Java Array as a Container
Using a JDK Vector as a Container
Resizeable Native Arrays
Algorithms
List of Algorithms by Category
Applying
Copying
Counting
Finding
Filtering
Replacing
Reversing
Sorting
Transforming
Applying an Algorithm to a Sub-Range of a Container
Function Objects
Predicates
General Functions
Binders
Composers
Creating your own Function Objects
Iterators
Iterators and Algorithms
Iterators and Containers
Reverse Iterators
Insertion Iterators
Iterating over Java Streams
ObjectSpace Voyager
Remote Creation and Access
Remote Iteration
Remote Algorithms
Persistence
Summary of Classes
Packages
Containers
Exceptions
Algorithms
Function Objects
Iterators
Utilities
Appendix
Benchmarks
Sample benchmarks
A Comparison of JGL vs. STL
Feature Enhancements
Compatibility Features
Differences
Code Comparisons
JGL License Agreement
Changes in 3.x
Class Hierarchy
JGL Packages
Package com.objectspace.jgl.adapters
Package com.objectspace.jgl.algorithms
Package com.objectspace.jgl.functions
Package com.objectspace.jgl
Package com.objectspace.jgl.predicates
Package com.objectspace.jgl.util
Package com.objectspace.jgl.voyager.algorithms
Package com.objectspace.jgl.voyager