Toggle navigation
Home
java.util.Collection to java.util.Map
No. of Instances - 7
No. of Commits - 1
No. of Projects - {'CoreNLP'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Rename Method invocation
emptyList
to
emptyMap
unmodifiableCollection
to
unmodifiableMap
unmodifiableCollection
to
unmodifiableMap
extractPatternMatches
to
extractCurrentMatches
getAllTokens
to
getTokenMap
Cascading Type Change (Different)
SimpleConnectionDirectory
to
SimpleDirectory<Connection>
ArrayList<>
to
HashMap<>
HashSet<CandidatePhrase>
to
HashMap<String,Collection<CandidatePhrase>>
GridConcurrentHashSet<>
to
ConcurrentHashMap<>
LinkedList<>
to
LinkedHashMap<>
ArrayList<>
to
LinkedHashMap<>
C1<K,GridCacheVersion>
to
C1<K,EntryProcessor>
C1<K,GridCacheVersion>
to
C1<K,EntryProcessor>
Add or Remove Method invocation
values
to
getSlaveUsages
servers.stream().collect(toMap(identity(),s -> segments.orElse(Collections.emptySet())))
to
servers.get(cacheName).stream().collect(toMap(identity(),s -> segments.orElse(Collections.emptySet())))
statusResponses
to
statusResponseMap.values()
COLLECTION_TYPES.contains(qualifiedName)
to
COLLECTION_TYPES.containsKey(qualifiedName)
MAP_TYPES.contains(qualifiedName)
to
MAP_TYPES.containsKey(qualifiedName)
VALID_SINGULAR_TYPES.contains(qualifiedName)
to
VALID_SINGULAR_TYPES.containsKey(qualifiedName)
localRuntimes
to
localRuntimes.values()
allPossibleNegativePhrases.contains(candidate)
to
hasElement(allPossibleNegativePhrases,candidate)
defs
to
classloaders.entrySet()
F.transform(failedNodes,F.node2id()).contains(nodeId)
to
F.transform(failedNodes.keySet(),F.node2id()).contains(nodeId)
failedNodes
to
failedNodes.keySet()
ring.nextNode(failedNodes)
to
ring.nextNode(failedNodes.keySet())
F.transform(keys,new C1<K,EntryProcessor>(){ @Override public GridCacheVersion apply( K k){ return ctx.versions().next(opCtx.dataCenterId()); } } )
to
F.viewAsMap(keys,new C1<K,EntryProcessor>(){ @Override public EntryProcessor apply( K k){ return entryProcessor; } } )
F.transform(keys,new C1<K,EntryProcessor>(){ @Override public GridCacheVersion apply( K k){ return ctx.versions().next(opCtx.dataCenterId()); } } )
to
F.viewAsMap(keys,new C1<K,EntryProcessor>(){ @Override public EntryProcessor apply( K k){ return entryProcessor; } } )
values
to
registeredCaches
reader.readCollection("last",MessageCollectionItemType.INT)
to
reader.readMap("last",MessageCollectionItemType.INT,MessageCollectionItemType.LONG,false)
bootstrappers
to
bootstrappersMap.entrySet()
Rename Variable
backupOwners
to
segmentEntriesMap
statusResponses
to
statusResponseMap
remoteMembers
to
members
matches
to
matchedPattern
list
to
tokenMap
defs
to
classloaders
textFields
to
groups
nearNodes
to
clientNodes
nearNodes
to
clientNodes
dataList
to
dataMap
dataList
to
dataMap
dataList
to
dataMap
drVers
to
invokeMap
drVers
to
invokeMap
collectedKeys
to
props
initializers
to
initializersMap
bootstrappers
to
bootstrappersMap
bootstrappers
to
bootstrappersMap
Cascading Type Change (Similar)
Collection<BQDaemonTestRuntime>
to
Map<BQRuntime,BQRuntimeDaemon>
Collection<Map<String,T>>
to
Map<String,List<T>>
Collection<Token<? extends TokenIdentifier>>
to
Map<Text,Token<? extends TokenIdentifier>>
Collection<Map<Integer,Object>>
to
Map<UUID,Map<Integer,Object>>