MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
—
fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues.