java.util.List to java.util.Set
No. of Instances - 2
No. of Commits - 2
No. of Projects - {'infinispan'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
- Cascading Type Change (Different)
- LinkedList<InodeFile> to HashSet<InodeFile>
- ArrayList<MasterInfoField> to HashSet<MasterInfoField>
- ArrayList<> to HashSet<>
- LinkedList<> to LinkedHashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<String> to HashSet<String>
- ArrayList<String> to HashSet<String>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- HashMap<List<File>,ClassLoader> to HashMap<Set<? extends File>,ClassLoader>
- LinkedList<EventServiceListener> to HashSet<EventServiceListener>
- ArrayList<String> to HashSet<String>
- HashMap<Class<? extends PluginTypeInterface>,List<PluginInterface>> to HashMap<>
- ArrayList<Class<? extends PluginTypeInterface>> to ArrayList<>
- HashMap<Class<? extends PluginTypeInterface>,List<String>> to HashMap<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- Tuple2<Long,List<T>> to Tuple2<Long,Set<T>>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- ArrayList<> to HashSet<>
- Add or Remove Method invocation
- Lists.newArrayList() to Sets.newHashSet()
- Lists.newArrayList() to Sets.newHashSet()
- Collections.<SingularityTaskHistoryUpdate>emptyList() to Collections.<SingularityTaskHistoryUpdate>emptySet()
- callbackDateTimePerSubscriptions.getNotifications() to callbackDateTimePerSubscriptions.getNotificationsForTrigger()
- anyMatch to anyMatch
- category.getGroupId() to groupId
- tracing.propagation().keys() to lowercaseSet(propagation.keys())
- next.getKey() to keyInCarrier
- keyInCarrier to keyInCarrier
- ensureLowerCase(fieldNames) to ensureLowerCase(new LinkedHashSet<>(fieldNames))
- overrides.get(0) to overrides.iterator().next()
- Arrays.stream(testClass.getDeclaredFields()).filter(m -> staticMember == Modifier.isStatic(m.getModifiers())).filter(m -> DropwizardExtension.class.isAssignableFrom(m.getType())).distinct() to Arrays.stream(testClass.getDeclaredFields()).filter(m -> isStaticMember == Modifier.isStatic(m.getModifiers())).filter(m -> DropwizardExtension.class.isAssignableFrom(m.getType()))
- Collectors.toList() to Collectors.toSet()
- Lists.newArrayList() to Sets.newHashSet()
- Collections.synchronizedList(getInjectableFields(clazz)) to Collections.synchronizedSet(getInjectableFields(clazz))
- Collections.synchronizedList(getTypesToManage(clazz)) to Collections.synchronizedSet(getTypesToManage(clazz))
- candidatePhrases to CollectionUtils.toList(candidatePhrases)
- allNegativePhrases.subList(0,numpos) to selectedNegPhrases
- dotGroup.getDotList() to dotGroup.getDotSet()
- Collectors.toList() to Collectors.toSet()
- forEach to forEach
- asList(element.getDeclaredAnnotationsByType(annotationType)) to containedAnnotations
- Collections.synchronizedList(new HashSet<EventServiceListener>()) to Collections.synchronizedSet(new HashSet<EventServiceListener>())
- actives.size() to String.format("%s, entries processed/pending/queued=%d/%d/%d",closed != null ? "Closing" : "Failing",processedEntries.size(),pendingEntries.size(),entries.size())
- frames.size() to x
- toRemoveVirtualHost to normalizeHostname(vh)
- assertThat(indexRanges.get(0).getIndexName()) to assertThat(indexRanges.iterator().next().getIndexName())
- Lists.newArrayList(streams) to Sets.newHashSet(streams)
- createMapperModel("fulln","fullNameMapper","full-name-ldap-mapper","ldap.full.name.attribute",LDAPConstants.CN) to model
- cacheQuery(cacheKey,PolicyScopeListQuery.class,() -> getPolicyStoreDelegate().findByScopeIds(Arrays.asList(id),resourceServerId),(revision,resources) -> new PolicyScopeListQuery(revision,cacheKey,id,resources.stream().map(resource -> resource.getId()).collect(Collectors.toSet()),resourceServerId),resourceServerId) to cacheQuery(cacheKey,PolicyScopeListQuery.class,() -> getPolicyStoreDelegate().findByScopeIds(Arrays.asList(id),resourceServerId),(revision,resources) -> new PolicyScopeListQuery(revision,cacheKey,id,resources.stream().map(resource -> resource.getId()).collect(Collectors.toSet()),resourceServerId),resourceServerId,null)
- cacheQuery(cacheKey,PolicyScopeListQuery.class,() -> getPolicyStoreDelegate().findByScopeIds(Arrays.asList(id),resourceId,resourceServerId),(revision,resources) -> new PolicyScopeListQuery(revision,cacheKey,id,resources.stream().map(resource -> resource.getId()).collect(Collectors.toSet()),resourceServerId),resourceServerId) to cacheQuery(cacheKey,PolicyScopeListQuery.class,() -> getPolicyStoreDelegate().findByScopeIds(Arrays.asList(id),resourceId,resourceServerId),(revision,resources) -> new PolicyScopeListQuery(revision,cacheKey,id,resources.stream().map(resource -> resource.getId()).collect(Collectors.toSet()),resourceServerId),resourceServerId,null)
- ifPresent to add
- ImmutableList.of() to ImmutableSet
- builder().global(Global.distributed(PartitioningProperties.hashPartitioned(columns).withNullsReplicated(true))) to builder().global(Global.distributed(PartitioningProperties.partitioned(columns).withNullsReplicated(true)))
- group1 to ImmutableList.copyOf(group1)
- ImmutableList.of(groupByKeys) to ImmutableList.of(ImmutableList.copyOf(groupByKeys))
- group0 to ImmutableList.copyOf(group0)
- ImmutableList.copyOf(used) to prunedInputs
- volumesToRemove.get(0).getFile() to volumesToRemove.iterator().next()
- getMatchedLogFiles(request,files) to getMatchedLogFiles(request,files,useRegex)
- Collections.singletonList("memory") to Collections.singleton("memory")
- Collections.singletonList("cpu") to Collections.singleton("cpu")
- Collections.singletonList("cpu") to Collections.singleton("cpu")
- Collections.singletonList("memory") to Collections.singleton("memory")
- Collections.singletonList("cpu") to Collections.singleton("cpu")
- Collections.singletonList("cpu") to Collections.singleton("cpu")
- Collectors.toList() to Collectors.toSet()
- selectLoginsWithGlobalPermission to collect
- getAllAsync(keys,!ctx.config().isReadFromBackup(),true,null,null,taskName,true,false) to getAllOutTxAsync(keys)
- unmodifiableList(sysPerms) to unmodifiableSet(sysPerms)
- Collectors.toList() to Collectors.toSet()
- file to Streams.ofOptional(idFile(value))
- Arrays.stream(DatabaseFile.values()).filter(f -> !f.hasIdFile()).map(this::file) to Arrays.stream(DatabaseFile.values()).flatMap(this::file)
- Collectors.toList() to Collectors.toSet()
- Cascading Type Change (Similar)
- List<alluxio.thrift.MasterInfoField> to Set<alluxio.thrift.MasterInfoField>
- List<SubscriptionNotification> to Set<UUID>
- List<String> to Set<String>
- List<Field> to Set<Field>
- TopicListener<T> to Consumer<T>
- List<Resource> to Scope
- Tuple2<Long,List<T>> to Tuple2<Long,Set<T>>
- List<T> to Set<T>
- List<String> to Set<String>
- List<String> to Set<String>
- List<ComponentDto> to Set<String>
- List<String> to Set<EmailSubscriberDto>
- Rename Variable
- nextNodes to visitedNodes
- callbackDateTimeUTC to subscriptionIds
- resultValue to subscriptionsForDryRunDates
- resultValue to subscriptionsForDryRunDates
- notifications to notificationListForDryRun
- existingTrackingId to allExistingTrackingIds
- keysToLoad to keys
- keysToLoad to keys
- list to forScans
- list to forScans
- list to forScans
- list to forScans
- roles to authorities
- lookups to providerLookups
- lookups to providerLookups
- group to elements
- list to jarMembers
- list to jarMembers
- fields to allPropagationKeys
- propagationKeys to allPropagationKeys
- propagationKeys to allPropagationKeys
- fields to allPropagationKeys
- fields to allPropagationKeys
- labels to unparsedHostSelectors
- labels to unparsedHostSelectors
- labels to selectors
- labels to selectors
- modifiedEdges to unfavoredEdges
- modifiedEdges to unfavoredEdges
- modifiedEdges to unfavoredEdges
- modifiedEdges to unfavoredEdges
- modifiedEdges to unfavoredEdges
- clusters to watchKeys
- clusters to watchKeys
- list to set
- list to set
- IGNORE_PARAMS to ignoreParams
- getPartitions to getReplicas
- fields to fieldsSet
- list to uniqueRemEnts
- list to uniqueRemEnts
- all to packs
- all to toPrune
- all to toPrune
- dotList to dotSet
- dotList to dotSet
- dotList to dotSet
- propertyFiles to filesToProcess
- propertyFiles to filesToProcess
- sentEvents to pendingEvents
- pendingEvents to pendingEntry
- list to set
- userDefinedFields to newFieldNames
- userDefinedFields to newFieldNames
- keysForHFile to keySet
- serverList to serversToChooseFrom
- tmpServers to movedServers
- waitingTimeoutList to waitingSet
- mappings to _mappings
- actives to processedEntries
- actives to processedEntries
- actives to processedEntries
- actives to processedEntries
- actives to processedEntries
- actives to processedEntries
- apps to clients
- arquillianContainers to container
- policies to resources
- finalCollectedContent to actualCollectedContent
- finalCollectedContent to actualCollectedContent
- uuids to deletions
- splitFutures to tokenRanges
- queues to leafQueueNames
- leafs to leafQueueNames
- value to cgroupList
- entries to values
- utf8Errors to errors
- utf8Errors to errors
- utf8Errors to errors
- metricDtoKeys to dbMetricsKeys
- metricDtoKeys to dbMetricsKeys
- metricKeys to inputMetricKeys
- favoriteProjects to favoriteProjectUuids
- favoriteProjects to favoriteProjectUuids
- logins to subscribers
- selectGlobalAdministratorLogins to selectGlobalAdministerEmailSubscribers
- mtdsList to classes
- blockingComponents to blockingRequirements
- blockingComponents to blockingRequirements
- idTypes to configuredTypesToReuse
- Other
- new SubscriptionNotification(curDate,false) to curId
- attributes().filter(Predicates.compose(Predicates.not(Predicates.equalTo(-1)),ToConstructorArgumentOrder.FUNCTION)).toSortedList(Ordering.natural().onResultOf(ToConstructorArgumentOrder.FUNCTION)) to attributes().filter(Predicates.compose(Predicates.not(Predicates.equalTo(-1)),ToConstructorArgumentOrder.FUNCTION)).toSortedList(Ordering.natural().onResultOf(ToConstructorArgumentOrder.FUNCTION))
- trustedPackages to trustedPackages
- trustedPackages to trustedPackages
- classes to classes
- Inject.class to annotation
- (T)p to t
- result to result
- this.streams to this.streams
- new PrestoNode(nodeInfo.getNodeId(),URI.create("http://192.0.1.1"),expectedVersion,false) to currentNode
- Arrays.asList(logFiles) to Arrays.asList(logFiles)
- desiredFields to desiredFields
- new GridResourceMethod(mtd,ann) to cls
- res to res
- res to res
- Rename Method invocation
- selectRandomlyFromList to selectRandomlyFromSet
- emptyList to emptySet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- singletonList to singleton
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- setPrivateTransformationDatabases to setPrivateDatabases
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- unmodifiableList to unmodifiableSet
- controller.createAction("provisioned").setDescription("Get the list of provisioned projects.<br /> " + "Require admin role.").setSince("5.2").setResponseExample(Resources.getResource(getClass(),"projects-example-provisioned.json")).setHandler(this).addPagingParams(100) to controller.createAction("provisioned").setDescription("Get the list of provisioned projects.<br /> " + "Require admin role.").setSince("5.2").setResponseExample(Resources.getResource(getClass(),"projects-example-provisioned.json")).setHandler(this).addPagingParams(100).addSearchQuery("sonar","names","keys")
- searchFavoriteProjects to loadFavoriteProjectUuids
- emptyList to emptySet
- selectGlobalAdministratorLogins to selectGlobalAdministerEmailSubscribers
- selectLoginsWithGlobalPermission to selectEmailSubscribersWithGlobalPermission
- Wrap or Un-wrap
- Update argument list (Method invocation)
- toNiceString to toNiceString
- debug to debug
- format to format
- findByScope to findByScope
- Update String Literal