com.atlassian.jira.util.collect
Class MemoizingMap.Master.Builder<K,V>

java.lang.Object
  extended by com.atlassian.jira.util.collect.MemoizingMap.Master.Builder<K,V>
Type Parameters:
K -
V -
Enclosing class:
MemoizingMap.Master<K,V>

public static class MemoizingMap.Master.Builder<K,V>
extends Object

Used to build a MemoizingMap.Master that individual local copies can then be copied from.


Method Summary
 void add(K key, V value)
           
 void addLazy(K key, Supplier<? extends V> value)
           
 MemoizingMap.Master<K,V> master()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addLazy

public void addLazy(K key,
                    Supplier<? extends V> value)

add

public void add(K key,
                V value)

master

public MemoizingMap.Master<K,V> master()


Copyright © 2002-2012 Atlassian. All Rights Reserved.