Skip to content

Col-E/ExtraCollections

Repository files navigation

Extra Collections

Handy utilities for things I wish were in Java's collections api.

Features

  • Delegating collections
  • Observable collections
  • Invertible Map (BiMap)
  • Boxes
    • Object T
    • int
    • long
    • float
    • double
    • char
  • Trees
    • Treated as additions to Map<K, Tree<K,V>>
  • Tuples
    • Pair
  • Lambdas that throw Throwable
  • Common utilities for List, Map, and Set types with features such as:
    • Creating singleton collections
    • Creating disjoint & union collection of two input collections