Deprecated Methods |
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)
use Joiner.MapJoiner.appendTo(Appendable, 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.base.Joiner.appendTo(StringBuilder, I)
use Joiner.appendTo(StringBuilder, 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(StringBuilder, I)
use Joiner.MapJoiner.appendTo(StringBuilder, 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.ArrayTable.clear()
Use ArrayTable.eraseAll() |
com.google.common.collect.ComparisonChain.compare(boolean, boolean)
Use ComparisonChain.compareFalseFirst(boolean, boolean) ; or, if the parameters passed
are being either negated or reversed, undo the negation or reversal and
use ComparisonChain.compareTrueFirst(boolean, boolean) . This method is scheduled for deletion
in September 2013. |
com.google.common.eventbus.EventBus.dispatchQueuedEvents()
This method should not be overridden outside of the eventbus package. It is
scheduled for removal in Guava 14.0. |
com.google.common.base.Equivalences.equals()
This method has been moved to Equivalence.equals() . This method is scheduled
to be removed in Guava release 14.0. |
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)
Use InternetDomainName.from(String) |
com.google.common.base.Equivalences.identity()
This method has been moved to Equivalence.identity() . This method is schedule
to be removed in Guava release 14.0. |
com.google.common.net.InternetDomainName.isValidLenient(String)
Use InternetDomainName.isValid(String) instead |
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>)
Caching functionality in MapMaker is being moved to
CacheBuilder , with MapMaker.makeComputingMap(com.google.common.base.Function super K, ? extends V>) being replaced
by CacheBuilder.build(com.google.common.cache.CacheLoader super K1, V1>) . See the
MapMaker
Migration Guide for more details.
This method is scheduled for deletion in February 2013. |
com.google.common.collect.Iterators.peekingIterator(PeekingIterator)
no need to use this |
com.google.common.collect.ArrayTable.remove(Object, Object)
Use ArrayTable.erase(java.lang.Object, java.lang.Object) |
com.google.common.collect.Iterators.skip(Iterator>, int)
This method has been renamed to advance .
This method is scheduled to be deleted in Guava 14.0. |
com.google.common.collect.GenericMapMaker.softKeys()
|
com.google.common.collect.MapMaker.softKeys()
use MapMaker.softValues() to create a memory-sensitive map, or MapMaker.weakKeys() to
create a map that doesn't hold strong references to the keys.
This method is scheduled for deletion in January 2013. |
com.google.common.base.Stopwatch.toString(int)
Use Stopwatch.toString() instead. This method is scheduled
to be removed in Guava release 15.0. |
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)
The semantics of writeBytes(String s) are considered
dangerous. Please use LittleEndianDataOutputStream.writeUTF(String s) ,
LittleEndianDataOutputStream.writeChars(String s) or another write method instead. |
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)) . |