- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ScheduledThreadPoolExecutor s =
new ScheduledThreadPoolExecutor(corePoolSize)
ThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
String str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
- Smart code suggestions by Codota
}
@Override public <V> MutableList<V> collect(Function<? super T, ? extends V> function) { return Iterate.collect(this.delegate, function, FastList.<V>newList()); }
@Override public <V> MutableSet<V> collect(Function<? super T, ? extends V> function) { return Iterate.collect(this.delegate, function, UnifiedSet.<V>newSet()); }
public <V, R extends Collection<V>> R collect(Function<? super T, ? extends V> function, R target) { return Iterate.collect(this.getDelegate(), function, target); }
public <V> MutableCollection<V> collect(Function<? super T, ? extends V> function) { return this.wrap(Iterate.collect(this.getDelegate(), function)); }
public RichIterable<Pair<K, V>> keyValuesView() { synchronized (this.lock) { Set<Entry<K, V>> entries = this.getDelegate().entrySet(); Iterable<Pair<K, V>> pairs = Iterate.collect(entries, AbstractImmutableEntry.<K, V>getPairFunction()); return LazyIterate.adapt(pairs); } } }
public <V, R extends Collection<V>> R collect(Function<? super T, ? extends V> function, R target) { return Iterate.collect(this.getDelegate(), function, target); }
@Override public <V> MutableSet<V> collect(Function<? super T, ? extends V> function) { return Iterate.collect(this.delegate, function, UnifiedSet.<V>newSet()); }
@Override public <V> MutableList<V> collect(Function<? super T, ? extends V> function) { return Iterate.collect(this.delegate, function, FastList.<V>newList()); }
@Override public void doAccept(final Event<Iterable<T>> value) { Iterable<T> data; if (null == (data = value.getData())) { return; } batchConsumer.accept(Iterate.collect(data, new CheckedFunction<T, Event<T>>() { @Override public Event<T> safeValueOf(T data) throws Exception { return value.copy(data); } })); }
public <V> MutableCollection<V> collect(Function<? super T, ? extends V> function) { return this.wrap(Iterate.collect(this.getDelegate(), function)); }
public RichIterable<Pair<K, V>> keyValuesView() { synchronized (this.lock) { Set<Entry<K, V>> entries = this.getDelegate().entrySet(); Iterable<Pair<K, V>> pairs = Iterate.collect(entries, AbstractImmutableEntry.<K, V>getPairFunction()); return LazyIterate.adapt(pairs); } } }