Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tempredirect/PersistentCollections

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persistent Collections

This is a port of the clojure collection classes to be more approachable from a pure java project.

  • New PersistentList, TransientList

Implemented features

  • PersistentTreeList - Immutable List implementation with structural sharing
  • TransientTreeList - Mutable partner to PersistentTreeList

Missing/Known issues

TransientTreeList isn't a complete list implementation:

  • only add and remove are implemented
  • clear()/subList().clear() haven't been implemented
  • iterator().remove()
  • It doesn't fail fast with ConcurrentModificationException's althrough it may not be nessary as it is only editable by a single thread

About

A port of the persistent collections from clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.