Class DeferredMap

  • All Implemented Interfaces:
    Map<Object,​Object>

    public class DeferredMap
    extends AbstractMap<Object,​Object>
    A specialized Map implementation that will collect entries during building, but only materialize full lookup structure when needed; that is, actual building of hash lookup is deferred.

    Inspired by lazily initialized Map used by Boon library.