A multiset that tracks how many times each element has been added.
A fixed-capacity cache that evicts the least recently used entry first.
A bounded pool that reuses instances instead of creating new ones.
A resettable flag that runs a block at most once between resets.
A fixed-capacity buffer that overwrites its oldest element when full.
A base class for singletons that need one construction argument.
A cache whose entries expire once ttl has elapsed since they were stored.
A key for a TypedMap that carries the type of its value.
A heterogeneous map whose values are typed by their TypedKey.
Returns a function that caches every result of fn by argument.
Returns a function that caches every result of fn by argument pair.