-
Deprecated ClassesClassDescriptionUse
dev.mccue.guava.graph.Traverserinstead. All instance methods have their equivalent on the result ofTraverser.forTree(tree)wheretreeimplementsSuccessorsFunction, which has a similar API asTreeTraverser.children(T)or can be the same lambda function as passed intoTreeTraverser.using(Function).This class is scheduled to be removed in October 2019.
-
Deprecated ExceptionsExceptionsDescriptionThis exception is no longer thrown by guava. Previously, it was thrown by
MapMakercomputing maps. When support for computing maps was removed fromMapMaker, it was added toCacheBuilder, which throwsExecutionException,UncheckedExecutionException, andExecutionError. Any code that is still catchingComputationExceptionmay need to be updated to catch some of those types instead. (Note that this type, though deprecated, is not planned to be removed from Guava.)
-
Deprecated MethodsMethodDescriptionFor a
ListMultimapthat automatically trims to size, useImmutableListMultimap. If you need a mutable collection, remove thetrimToSizecall, or switch to aHashMap<K, ArrayList<V>>.UseComparisonChain.compareFalseFirst(boolean, boolean); or, if the parameters passed are being either negated or reversed, undo the negation or reversal and useComparisonChain.compareTrueFirst(boolean, boolean).Internal method, useMultiset.entrySet().instances ofFluentIterabledon't need to be converted toFluentIterableThis method does not make sense for bimaps and should not be called.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.There is no reason to use this; it always returnsthis.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.This method is not currently implemented, and may never be.Unsupported by ImmutableSortedMap.Builder.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.no need to use thisno need to use thisno need to use thisno need to use thisno need to use thisno need to use thisno need to use thisUseCollections.binarySearch(List, Object, Comparator)directly.no need to use thisProvided only to satisfy thePredicateinterface; useRange.contains(C)instead.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.Unsupported operation.There is no reason to use this; just invokecollection.stream()directly.Store theComparatoralongside theTable. Or, if you know that theTablecontains at least one value, you can retrieve theComparatorwith:((SortedMap<C, V>) table.rowMap().values().iterator().next()).comparator();.Usetable.rowKeySet().comparator()instead.Use((NavigableSet<K>) multimap.keySet()).comparator()instead.Usedev.mccue.guava.graph.Traverser#breadthFirstinstead, which has the same behavior.Usedev.mccue.guava.graph.Traverser#depthFirstPostOrderinstead, which has the same behavior.Usedev.mccue.guava.graph.Traverser#depthFirstPreOrderinstead, which has the same behavior.Usedev.mccue.guava.graph.Traverser#forTreeinstead. If you are using a lambda, these methods have exactly the same signature.Unsupported operation.Unsupported operation.Unsupported operation.
dev.mccue.guava.util.concurrent. Please usedev.mccue.guava.util.concurrent.ForwardingBlockingDequeinstead.