public static class

MemoizingMap.Master

extends Object
java.lang.Object
   ↳ com.atlassian.jira.util.collect.MemoizingMap.Master<K, V>

Class Overview

Master that individual Maps can be printed from.

Summary

Nested Classes
class MemoizingMap.Master.Builder<K, V> Used to build a MemoizingMap.Master that individual local copies can then be copied from. 
Public Methods
static <K, V> Builder<K, V> builder()
Master<K, V> combine(Master<K, V> other)
Make a composite MemoizingMap.Master of the other and this master.
Map<K, V> toMap(Map<K, ? extends V> localValues)
Make a composite caching map of the local and master maps.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Builder<K, V> builder ()

public Master<K, V> combine (Master<K, V> other)

Make a composite MemoizingMap.Master of the other and this master.

Parameters
other any values that may override elements in this Master.
Returns
  • a map instance that will be lazily populated with the values from the master.

public Map<K, V> toMap (Map<K, ? extends V> localValues)

Make a composite caching map of the local and master maps.

Parameters
localValues any values that may override elements in the Master.
Returns
  • a map instance that will be lazily populated with the values from the master.