Deprecated API


Contents
Deprecated Methods
com.google.common.collect.MapMaker.expiration(long, TimeUnit)
          use MapMaker.expireAfterWrite(long, java.util.concurrent.TimeUnit), which behaves exactly the same. This method is scheduled for deletion in July 2012. 
com.google.common.collect.Ordering.from(Ordering)
          no need to use this 
com.google.common.base.Equivalences.nullAwareEquals()
          use Equivalences.equals(), which now has the null-aware behavior 
com.google.common.collect.ImmutableMultiset.of(E[])
          use ImmutableMultiset.copyOf(Object[]). This method is scheduled for deletion in January 2012. 
com.google.common.collect.ImmutableSet.of(E[])
          use ImmutableSet.copyOf(Object[]). This method is scheduled for deletion in October 2011. 
com.google.common.collect.ImmutableList.of(E[])
          use ImmutableList.copyOf(Object[]). This method is scheduled for deletion in October 2011. 
com.google.common.collect.ImmutableSortedSet.of(E[])
          use ImmutableSortedSet.copyOf(Comparable[]). This method is scheduled for deletion in October 2011. 
com.google.common.collect.Iterables.reverse(List)
          use Lists.reverse(List) or ImmutableList.reverse(). This method is scheduled for deletion in July 2012. 
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)). 
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.