BridgeMethodInjectorOpportunities - zhouhongfa/guava-wiki-cn GitHub Wiki
Bridge Method Injector Opportunities
Bridge Method Injector in Guava?
Where might we use theWe're not yet sure whether we want to use it at all, but part of making that decision will be having a list of possible uses in front of us.
Note that any of these changes might introduce source incompatibilities (e.g.,
for people who call ImmutableSet.of(immediateFuture(...)))
.
Iterables.(various)
->FluentIterable
ImmutableMultiset.elementSet
->ImmutableSet
Iterators.forArray, singletonIterator
->UnmodifiableListIterator
Splitter.split
->List
(orFluentIterable
if we could depend oncollect
frombase
)Sets.filter
(etc.) ->SetView
Futures.immediate*Future
->ListenableScheduledFuture
?