Deprecated Methods |
com.google.common.util.concurrent.Executors.addDelayedShutdownHook(ExecutorService, long, TimeUnit)
use MoreExecutors.addDelayedShutdownHook(
ExecutorService, long, TimeUnit) . |
com.google.common.util.concurrent.Executors.daemonThreadFactory()
use MoreExecutors.daemonThreadFactory() . |
com.google.common.util.concurrent.Executors.daemonThreadFactory(ThreadFactory)
use MoreExecutors.daemonThreadFactory(ThreadFactory) . |
com.google.common.collect.Ordering.from(Ordering)
no need to use this |
com.google.common.util.concurrent.Executors.getExitingExecutorService(ThreadPoolExecutor)
use MoreExecutors.getExitingExecutorService(
ThreadPoolExecutor) . |
com.google.common.util.concurrent.Executors.getExitingExecutorService(ThreadPoolExecutor, long, TimeUnit)
use MoreExecutors.getExitingExecutorService(
ThreadPoolExecutor, long, TimeUnit) . |
com.google.common.util.concurrent.Executors.getExitingScheduledExecutorService(ScheduledThreadPoolExecutor)
use MoreExecutors.getExitingScheduledExecutorService(
ScheduledThreadPoolExecutor) . |
com.google.common.util.concurrent.Executors.getExitingScheduledExecutorService(ScheduledThreadPoolExecutor, long, TimeUnit)
use MoreExecutors.getExitingScheduledExecutorService(
ScheduledThreadPoolExecutor, long, TimeUnit) . |
com.google.common.collect.ImmutableSet.of(E[])
use ImmutableSet.copyOf(Object[]) . |
com.google.common.collect.ImmutableList.of(E[])
use ImmutableList.copyOf(Object[]) |
com.google.common.collect.ImmutableSortedSet.of(E[])
use ImmutableSortedSet.copyOf(Comparable[]) . |
com.google.common.util.concurrent.Executors.sameThreadExecutor()
use MoreExecutors.sameThreadExecutor() . |
com.google.common.io.ByteArrayDataOutput.writeBytes(String)
This method is dangerous as it discards the high byte of
every character. For UTF-8, use write(s.getBytes(Charsets.UTF_8)) . |