Toggle navigation
Home
java.util.List to java.util.stream.Stream
No. of Instances - 4
No. of Commits - 3
No. of Projects - {'presto'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
hasSize
to
containsOnlyElementsOf
thenApply
to
thenApply
MappingsImpl.fromCollection(userEntries)
to
MappingsImpl.fromMappings(userEntries)
collect
to
map
dlpConfigurations.stream().map(DLPConfigurationItemDTO::toDTO).collect(Guavate.toImmutableList())
to
dlpConfigurations.map(DLPConfigurationItemDTO::toDTO).collect(Guavate.toImmutableList())
collect
to
map
collect
to
sorted
collect
to
map
future
to
sentenceMap.entrySet()
dynamicNodes.collect(CollectionUtils.toUnmodifiableList())
to
children
sessionTimestamps.subList(firstResult,toIndex)
to
stream.skip(firstResult)
Collectors.toList()
to
name
name
to
HttpConnectorValidator.encryptionSetting(name,defaultEncryption).apply(params::get)
Other
urlStore.list()
to
urlStore.list()
Convert Class instance creation to method invocation
ArrayList<>
to
stream
ArrayList<>
to
stream
Cascading Type Change (Similar)
List<MailboxPath>
to
Stream<MailboxId>
Rename Variable
mailboxPaths
to
mailboxIds
mailboxPaths
to
mailboxIds
words
to
stream
dynamicNodes
to
children
dynamicNodes
to
children
sessionTimestamps
to
stream
Rename Method invocation
build
to
stream