Toggle navigation
Home
java.lang.Iterable to java.util.List
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'DotCi'}
Hierarchy/Composition: T_SUPER_R
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
Objects.toStringHelper(this).add("blockWorkerInfos",mBlockWorkerInfos).add("blockId",mBlockId).add("blockSize",mBlockSize)
to
Objects.toStringHelper(this).add("blockId",mBlockId).add("blockSize",mBlockSize).add("blockWorkerInfos",mBlockWorkerInfos)
StreamSupport
to
values.stream()
ServiceLoader.load(ResourceInjectionResolver.class,WildFlySecurityManager.getClassLoaderPrivileged(WeldResourceInjectionServices.class))
to
Collections.emptyList()
insertColumns.stream().map(insertColumn -> tableMetadata.getColumn(insertColumn).getType())
to
insertColumns.stream().map(insertColumn -> tableMetadata.getColumn(insertColumn))
Assignments.builder().putAll(coerce(uncoerced,subPlan,translations)).putIdentities(alreadyCoerced)
to
Assignments.builder().putAll(coerce(uncoerced,subPlan,translations)).putIdentities(symbolAllocator.toVariableReferences(alreadyCoerced))
filter
to
toList
Iterables.filter(duplications,minimumTokensPredicate)
to
Collections.emptyList()
from(metrics).uniqueIndex(MetricToKey.INSTANCE)
to
metrics
Other
Iterables.filter(taskManager.getActiveTasks(),new Predicate<SingularityTask>(){ @Override public boolean apply( SingularityTask input){ return userIsAuthorizedForRequest(user,input.getTaskRequest().getRequest()); } } )
to
Iterables.filter(taskManager.getActiveTasks(),new Predicate<SingularityTask>(){ @Override public boolean apply( SingularityTask input){ return userIsAuthorizedForRequest(user,input.getTaskRequest().getRequest()); } } )
Iterables.filter(taskManager.getCleanupTasks(),new Predicate<SingularityTaskCleanup>(){ @Override public boolean apply( SingularityTaskCleanup input){ return userIsAuthorizedForRequest(user,requestManager.getRequest(input.getTaskId().getRequestId())); } } )
to
Iterables.filter(taskManager.getCleanupTasks(),new Predicate<SingularityTaskCleanup>(){ @Override public boolean apply( SingularityTaskCleanup input){ return userIsAuthorizedForRequest(user,requestManager.getRequest(input.getTaskId().getRequestId())); } } )
Iterables.filter(taskManager.getLBCleanupTasks(),new Predicate<SingularityTaskId>(){ @Override public boolean apply( SingularityTaskId input){ return userIsAuthorizedForRequest(user,requestManager.getRequest(input.getRequestId())); } } )
to
Iterables.filter(taskManager.getLBCleanupTasks(),new Predicate<SingularityTaskId>(){ @Override public boolean apply( SingularityTaskId input){ return userIsAuthorizedForRequest(user,requestManager.getRequest(input.getRequestId())); } } )
Iterables.filter(taskRequestManager.getTaskRequests(tasks),new Predicate<SingularityTaskRequest>(){ @Override public boolean apply( SingularityTaskRequest input){ return userIsAuthorizedForRequest(user,input.getRequest()); } } )
to
Iterables.filter(taskRequestManager.getTaskRequests(tasks),new Predicate<SingularityTaskRequest>(){ @Override public boolean apply( SingularityTaskRequest input){ return userIsAuthorizedForRequest(user,input.getRequest()); } } )
Iterables.filter(taskManager.getPendingTaskIds(),new Predicate<SingularityPendingTaskId>(){ @Override public boolean apply( SingularityPendingTaskId input){ return userIsAuthorizedForRequest(user,requestManager.getRequest(input.getRequestId())); } } )
to
Iterables.filter(taskManager.getPendingTaskIds(),new Predicate<SingularityPendingTaskId>(){ @Override public boolean apply( SingularityPendingTaskId input){ return userIsAuthorizedForRequest(user,requestManager.getRequest(input.getRequestId())); } } )
Iterables.filter(taskManager.getTasksOnSlave(taskManager.getActiveTaskIds(),maybeSlave.get()),new Predicate<SingularityTask>(){ @Override public boolean apply( SingularityTask input){ return userIsAuthorizedForRequest(user,input.getTaskRequest().getRequest()); } } )
to
Iterables.filter(taskManager.getTasksOnSlave(taskManager.getActiveTaskIds(),maybeSlave.get()),new Predicate<SingularityTask>(){ @Override public boolean apply( SingularityTask input){ return userIsAuthorizedForRequest(user,input.getTaskRequest().getRequest()); } } )
new BuildHistory(dynamicProject).getBuilds("master")
to
new BuildHistory(dynamicProject).getBuilds("master")
() -> new AbstractIterator<T>(){ private final Iterator<T> delegate=iterable.iterator(); private int position; @Override protected T computeNext(){ position++; if (position > n) { position=0; return null; } if (!delegate.hasNext()) { return endOfData(); } return delegate.next(); } }
to
() -> new AbstractIterator<T>(){ private final Iterator<T> delegate=iterable.iterator(); private int position; @Override protected T computeNext(){ position++; if (position > n) { position=0; return null; } if (!delegate.hasNext()) { return endOfData(); } return delegate.next(); } }
() -> new AbstractIterator<T>(){ private final Iterator<T> delegate=iterable.iterator(); private int position; @Override protected T computeNext(){ position++; if (position > n) { position=0; return null; } if (!delegate.hasNext()) { return endOfData(); } return delegate.next(); } }
to
() -> new AbstractIterator<T>(){ private final Iterator<T> delegate=iterable.iterator(); private int position; @Override protected T computeNext(){ position++; if (position > n) { position=0; return null; } if (!delegate.hasNext()) { return endOfData(); } return delegate.next(); } }
Cascading Type Change (Similar)
Iterable<Map<String,Object>>
to
List<Map<String,Object>>
Iterable<Type>
to
List<ColumnMetadata>
Rename Variable
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
checkpointsIterable
to
checkpointsHistory
tableTypes
to
expectedColumns
updates
to
recoveredUpdates
casted
to
filteredAndCasted
Rename Method invocation
split
to
splitToList