public Master<K, V> master() { return new Master<K, V>(ImmutableMap.copyOf(suppliers)); } }
/** * Make a composite {@link Master} of the other and this master. * * @param other any values that may override elements in this Master. * @return a map instance that will be lazily populated with the values from the master. */ public Master<K, V> combine(final Master<K, V> other) { return new Master<K, V>(CompositeMap.of(other.suppliers, suppliers)); }