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
 MemoizingMap.Master.Builder<K,V> add(K key, V value)
           
 MemoizingMap.Master.Builder<K,V> 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 MemoizingMap.Master.Builder<K,V> addLazy(K key,
                                                Supplier<? extends V> value)

add

public MemoizingMap.Master.Builder<K,V> add(K key,
                                            V value)

master

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.