@Override public MutableMap<K, RichIterable<V>> toMap() { return (MutableMap<K, RichIterable<V>>) (MutableMap<?, ?>) this.map.toMap(); }
@Override public MutableMap<K, RichIterable<V>> toMap() { return (MutableMap<K, RichIterable<V>>) (MutableMap<?, ?>) this.map.toMap(); }
public GraphDatabaseDependencies urlAccessRules( Map<String,URLAccessRule> urlAccessRules ) { final Map<String,URLAccessRule> newUrlAccessRules = this.urlAccessRules.toMap(); newUrlAccessRules.putAll( urlAccessRules ); return new GraphDatabaseDependencies( monitors, userLogProvider, settingsClasses, kernelExtensions, asImmutableMap( newUrlAccessRules ), queryEngineProviders, deferredExecutors ); }
public MutableMap<K, V> toMap() { return this.getDelegate().toMap(); }
public MutableMap<K, V> toMap() { return this.getDelegate().toMap(); }
@Override public MutableMap<K, RichIterable<V>> toMap() { return (MutableMap<K, RichIterable<V>>) (MutableMap<?, ?>) this.map.toMap(); }
/** * Returns the number of issues in this analysis run, mapped by their origin. The origin is the tool that created * the report. * * @return number of issues per origin */ public Map<String, Integer> getSizePerOrigin() { return Maps.immutable.ofAll(sizePerOrigin).toMap(); }
/** * Returns the new number of issues in this analysis run, mapped by {@link Severity}. * * @return number of issues per severity */ public Map<Severity, Integer> getNewSizePerSeverity() { return Maps.immutable.ofAll(sizePerSeverity).toMap(); }
public MutableMap<K, V> toMap() { return this.getDelegate().toMap(); }
/** * Returns the number of issues in this analysis run, mapped by {@link Severity}. * * @return number of issues per severity */ public Map<Severity, Integer> getSizePerSeverity() { return Maps.immutable.ofAll(sizePerSeverity).toMap(); }
public GraphDatabaseDependencies urlAccessRules( Map<String,URLAccessRule> urlAccessRules ) { final Map<String,URLAccessRule> newUrlAccessRules = this.urlAccessRules.toMap(); newUrlAccessRules.putAll( urlAccessRules ); return new GraphDatabaseDependencies( monitors, userLogProvider, settingsClasses, kernelExtensions, asImmutableMap( newUrlAccessRules ), queryEngineProviders, deferredExecutors ); }
protected Main() { // use the hashing strategy to allow commands of any case to be handled MutableMap<String, Procedure<String[]>> commandMap = HashingStrategyMaps.mutable.of(HashingStrategies.fromFunction(new Function<String, String>() { @Override public String valueOf(String s) { return s.toLowerCase(); } })); commandMap.putAll(getCommandMap().toMap()); this.commandMap = commandMap.toImmutable(); }
public void mergeAttributes(TextMarkupDocumentSection other) { if (other == null) { return; } this.attrs = this.attrs.toMap() .withAllKeyValues(other.attrs.select(new Predicate2<String, String>() { @Override public boolean accept(String key, String value) { return !TextMarkupDocumentSection.this.attrs.contains(key); } }).keyValuesView()) .toImmutable(); this.toggles = this.toggles.newWithAll(other.toggles.select(new Predicate<String>() { @Override public boolean accept(String key) { return !TextMarkupDocumentSection.this.toggles.contains(key); } })); }
public void mergeAttributes(TextMarkupDocumentSection other) { if (other == null) { return; } this.attrs = this.attrs.toMap() .withAllKeyValues(other.attrs.select(new Predicate2<String, String>() { @Override public boolean accept(String key, String value) { return !TextMarkupDocumentSection.this.attrs.contains(key); } }).keyValuesView()) .toImmutable(); this.toggles = this.toggles.newWithAll(other.toggles.select(new Predicate<String>() { @Override public boolean accept(String key) { return !TextMarkupDocumentSection.this.toggles.contains(key); } })); }