Toggle navigation
Home
java.lang.String to alluxio.proto.meta.Block.BlockLocation
No. of Instances - 9
No. of Commits - 1
No. of Projects - {'alluxio'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Cascading Type Change (Similar)
Map<String,List<Long>>
to
Map<Block.BlockLocation,List<Long>>
Map<String,List<Long>>
to
Map<Block.BlockLocation,List<Long>>
Add or Remove Method invocation
request.getAddedBlocksOnTiersMap().entrySet()
to
request.getAddedBlocksList()
Collectors.toMap(Map.Entry::getKey,e -> e.getValue().getTiersList())
to
Collectors.toMap(e -> Block.BlockLocation.newBuilder().setTier(e.getKey().getTierAlias()).setMediumType(e.getKey().getMediumType()).build(),e -> e.getValue().getBlockIdList(),(e1,e2) -> { e1.addAll(e2); return e1; } )
request.getCurrentBlocksOnTiersMap().entrySet()
to
request.getCurrentBlocksList()
Collectors.toMap(Map.Entry::getKey,e -> e.getValue().getTiersList())
to
Collectors.toMap(e -> Block.BlockLocation.newBuilder().setTier(e.getKey().getTierAlias()).setMediumType(e.getKey().getMediumType()).build(),e -> e.getValue().getBlockIdList(),(e1,e2) -> { e1.addAll(e2); return e1; } )
Rename Variable
addedBlocksOnTiersMap
to
addedBlocksMap
addedBlocksOnTiersMap
to
addedBlocksMap
currentBlocksOnTiersMap
to
currBlocksOnLocationMap
currentBlocksOnTiersMap
to
currBlocksOnLocationMap
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
addedBlocksOnTiers
to
addedBlocks
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATION
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATIONS
NO_BLOCKS_ON_TIERS
to
NO_BLOCKS_ON_LOCATIONS
currentBlocksOnTiers
to
currentBlocksOnLocation
currentBlocksOnTiers
to
currentBlocksOnLocation