com.google.common.collect.ImmutableCollection.add(E)
Unsupported operation.
|
com.google.common.collect.UnmodifiableListIterator.add(E)
Unsupported operation.
|
com.google.common.collect.ImmutableMultiset.add(E, int)
Unsupported operation.
|
com.google.common.collect.ImmutableList.add(int, E)
Unsupported operation.
|
com.google.common.primitives.UnsignedInteger.add(UnsignedInteger)
|
com.google.common.primitives.UnsignedLong.add(UnsignedLong)
|
com.google.common.collect.ImmutableCollection.addAll(Collection extends E>)
Unsupported operation.
|
com.google.common.collect.ImmutableList.addAll(int, Collection extends E>)
Unsupported operation.
|
com.google.common.base.Joiner.appendTo(A, I)
use Joiner.appendTo(Appendable, Iterator) by casting parts to
Iterator<?> , or better yet, by implementing only Iterator and not
Iterable . This method is scheduled for deletion in June 2013.
|
com.google.common.base.Joiner.MapJoiner.appendTo(A, I)
|
com.google.common.base.Joiner.appendTo(StringBuilder, I)
|
com.google.common.base.Joiner.MapJoiner.appendTo(StringBuilder, I)
|
com.google.common.collect.Range.asSet(DiscreteDomain)
Use ContiguousSet.create(range, domain) instead.
|
com.google.common.primitives.UnsignedInteger.asUnsigned(int)
|
com.google.common.primitives.UnsignedLong.asUnsigned(long)
|
com.google.common.collect.ImmutableMap.clear()
Unsupported operation.
|
com.google.common.collect.ArrayTable.clear()
|
com.google.common.collect.ImmutableTable.clear()
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.clear()
Unsupported operation.
|
com.google.common.collect.ImmutableCollection.clear()
Unsupported operation.
|
com.google.common.io.Closeables.closeQuietly(Closeable)
Where possible, use the
try-with-resources statement if using JDK7 or Closer on JDK6 to close one or
more Closeable objects. This method is deprecated because it is easy to misuse and
may swallow IO exceptions that really should be thrown and handled. See
Guava issue
1118 for a more detailed explanation of the reasons for deprecation and see
Closing Resources for more information on the problems with closing Closeable
objects and some of the preferred solutions for handling it correctly. This method is
scheduled to be removed in Guava 16.0.
|
com.google.common.collect.ComparisonChain.compare(boolean, boolean)
|
com.google.common.primitives.UnsignedInteger.divide(UnsignedInteger)
|
com.google.common.primitives.UnsignedLong.divide(UnsignedLong)
|
com.google.common.base.Stopwatch.elapsedMillis()
Use stopwatch.elapsed(MILLISECONDS) instead. This
method is scheduled to be removed in Guava release 16.0.
|
com.google.common.base.Stopwatch.elapsedTime(TimeUnit)
|
com.google.common.hash.BloomFilter.expectedFalsePositiveProbability()
|
com.google.common.collect.ImmutableBiMap.forcePut(K, V)
Unsupported operation.
|
com.google.common.collect.FluentIterable.from(FluentIterable)
instances of FluentIterable don't need to be converted to
FluentIterable
|
com.google.common.collect.Ordering.from(Ordering)
no need to use this
|
com.google.common.net.InternetDomainName.fromLenient(String)
|
com.google.common.io.Files.getChecksum(File, Checksum)
Use hash with the Hashing.crc32() or
Hashing.adler32() hash functions. This method is scheduled
to be removed in Guava 15.0.
|
com.google.common.io.ByteStreams.getChecksum(InputSupplier extends InputStream>, Checksum)
Use hash with the Hashing.crc32() or
Hashing.adler32() hash functions instead. This method is
scheduled to be removed in Guava 15.0.
|
com.google.common.net.InternetDomainName.isValidLenient(String)
|
com.google.common.base.Joiner.join(I)
use Joiner.join(Iterator) by casting parts to
Iterator<?> , or better yet, by implementing only Iterator and not
Iterable . This method is scheduled for deletion in June 2013.
|
com.google.common.base.Joiner.MapJoiner.join(I)
use Joiner.MapJoiner.join(Iterator) by casting entries to
Iterator<? extends Entry<?, ?>> , or better yet, by implementing only
Iterator and not Iterable . This method is scheduled for deletion
in June 2013.
|
com.google.common.collect.GenericMapMaker.makeComputingMap(Function super K, ? extends V>) |
com.google.common.collect.MapMaker.makeComputingMap(Function super K, ? extends V>)
|
com.google.common.primitives.UnsignedInteger.multiply(UnsignedInteger)
|
com.google.common.primitives.UnsignedLong.multiply(UnsignedLong)
|
com.google.common.hash.Hashing.padToLong(HashCode)
Use HashCode.padToLong() instead. This method is scheduled to be
removed in Guava 15.0.
|
com.google.common.collect.Iterators.peekingIterator(PeekingIterator)
no need to use this
|
com.google.common.collect.ImmutableSortedSet.pollFirst()
Unsupported operation.
|
com.google.common.collect.ImmutableSortedMultiset.pollFirstEntry()
Unsupported operation.
|
com.google.common.collect.ImmutableSortedMap.pollFirstEntry()
Unsupported operation.
|
com.google.common.collect.ImmutableSortedSet.pollLast()
Unsupported operation.
|
com.google.common.collect.ImmutableSortedMultiset.pollLastEntry()
Unsupported operation.
|
com.google.common.collect.ImmutableSortedMap.pollLastEntry()
Unsupported operation.
|
com.google.common.collect.ImmutableMap.put(K, V)
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.put(K, V)
Unsupported operation.
|
com.google.common.collect.ImmutableTable.put(R, C, V)
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.putAll(K, Iterable extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableMap.putAll(Map extends K, ? extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.putAll(Multimap extends K, ? extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableTable.putAll(Table extends R, ? extends C, ? extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableClassToInstanceMap.putInstance(Class, T)
Unsupported operation.
|
com.google.common.primitives.UnsignedInteger.remainder(UnsignedInteger)
|
com.google.common.primitives.UnsignedLong.remainder(UnsignedLong)
|
com.google.common.collect.UnmodifiableIterator.remove()
Unsupported operation.
|
com.google.common.collect.ImmutableList.remove(int)
Unsupported operation.
|
com.google.common.collect.ImmutableMap.remove(Object)
Unsupported operation.
|
com.google.common.collect.ImmutableCollection.remove(Object)
Unsupported operation.
|
com.google.common.collect.ImmutableMultiset.remove(Object, int)
Unsupported operation.
|
com.google.common.collect.ArrayTable.remove(Object, Object)
|
com.google.common.collect.ImmutableTable.remove(Object, Object)
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.remove(Object, Object)
Unsupported operation.
|
com.google.common.collect.ImmutableCollection.removeAll(Collection>)
Unsupported operation.
|
com.google.common.collect.ImmutableListMultimap.removeAll(Object)
Unsupported operation.
|
com.google.common.collect.ImmutableSetMultimap.removeAll(Object)
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.removeAll(Object)
Unsupported operation.
|
com.google.common.collect.ImmutableListMultimap.replaceValues(K, Iterable extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableSetMultimap.replaceValues(K, Iterable extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableMultimap.replaceValues(K, Iterable extends V>)
Unsupported operation.
|
com.google.common.collect.ImmutableCollection.retainAll(Collection>)
Unsupported operation.
|
com.google.common.collect.UnmodifiableListIterator.set(E)
Unsupported operation.
|
com.google.common.collect.ImmutableList.set(int, E)
Unsupported operation.
|
com.google.common.collect.ImmutableMultiset.setCount(E, int)
Unsupported operation.
|
com.google.common.collect.ImmutableMultiset.setCount(E, int, int)
Unsupported operation.
|
com.google.common.primitives.UnsignedInteger.subtract(UnsignedInteger)
|
com.google.common.primitives.UnsignedLong.subtract(UnsignedLong)
|
com.google.common.collect.FluentIterable.toImmutableList()
|
com.google.common.collect.FluentIterable.toImmutableSet()
|
com.google.common.collect.FluentIterable.toImmutableSortedSet(Comparator super E>)
|
com.google.common.collect.FluentIterable.toSortedImmutableList(Comparator super E>)
|
com.google.common.base.Stopwatch.toString(int)
|
com.google.common.collect.Iterables.unmodifiableIterable(ImmutableCollection)
no need to use this
|
com.google.common.collect.Iterators.unmodifiableIterator(UnmodifiableIterator)
no need to use this
|
com.google.common.collect.Multimaps.unmodifiableListMultimap(ImmutableListMultimap)
no need to use this
|
com.google.common.collect.Multimaps.unmodifiableMultimap(ImmutableMultimap)
no need to use this
|
com.google.common.collect.Multisets.unmodifiableMultiset(ImmutableMultiset)
no need to use this
|
com.google.common.collect.Multimaps.unmodifiableSetMultimap(ImmutableSetMultimap)
no need to use this
|
com.google.common.io.LittleEndianDataOutputStream.writeBytes(String)
|
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)) .
|