156ec5360e6ec918878d9d0c6f7a5d04fc8161a0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 1 | ||
Pull Up Method public destroy() : void from class org.apache.ignite.ml.math.impls.matrix.DenseLocalOffHeapMatrix to public destroy() : void from class org.apache.ignite.ml.math.impls.matrix.AbstractMatrix | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type cacheName : String to matrixUuid : IgniteUuid in method public sparseMap(matrixUuid IgniteUuid, mapper IgniteFunction<Double,Double>) : void in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Change Parameter Type cacheName : String to matrixUuid : IgniteUuid in method public sparseMin(matrixUuid IgniteUuid) : double in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Change Parameter Type cacheName : String to matrixUuid : IgniteUuid in method public sparseSum(matrixUuid IgniteUuid) : double in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Change Parameter Type cacheName : String to matrixUuid : IgniteUuid in method public sparseMax(matrixUuid IgniteUuid) : double in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Change Return Type | 2 | ||
Change Return Type IgniteCache<Integer,Map<Integer,Double>> to IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method private newCache() : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Return Type IgniteCache<Integer,Map<Integer,Double>> to IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method public cache() : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Variable Type | 3 | ||
Change Variable Type cache : IgniteCache<Integer,Map<Integer,Double>> to cache : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method private matrixSet(a int, b int, v double) : void in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Change Variable Type k : Integer to k : IgniteBiTuple in method public sparseMap(matrixUuid IgniteUuid, mapper IgniteFunction<Double,Double>) : void in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Change Variable Type cfg : CacheConfiguration<Integer,Map<Integer,Double>> to cfg : CacheConfiguration<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method private newCache() : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Extract Variable | 3 | ||
Extract Variable entry : Cache.Entry<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method public sparseMin(matrixUuid IgniteUuid) : double from class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Extract Variable entry : Cache.Entry<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method public sparseSum(matrixUuid IgniteUuid) : double from class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Extract Variable entry : Cache.Entry<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in method public sparseMax(matrixUuid IgniteUuid) : double from class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type cache : IgniteCache<Integer,Map<Integer,Double>> to cache : IgniteCache<IgniteBiTuple<Integer,IgniteUuid>,Map<Integer,Double>> in class org.apache.ignite.ml.math.impls.storage.matrix.SparseDistributedMatrixStorage | From | To | |
Extract Method | 2 | ||
Extract Method public fold(cacheName String, folder IgniteBiFunction<CacheEntry<K,V>,A,A>, keyFilter IgnitePredicate<K>) : Collection<A> extracted from public fold(cacheName String, folder IgniteBiFunction<CacheEntry<K,V>,A,A>) : Collection<A> in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Extract Method public foreach(cacheName String, fun IgniteConsumer<CacheEntry<K,V>>, keyFilter IgnitePredicate<K>) : void extracted from public foreach(cacheName String, fun IgniteConsumer<CacheEntry<K,V>>) : void in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Rename Parameter | 4 | ||
Rename Parameter cacheName : String to matrixUuid : IgniteUuid in method public sparseMax(matrixUuid IgniteUuid) : double in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Rename Parameter cacheName : String to matrixUuid : IgniteUuid in method public sparseMap(matrixUuid IgniteUuid, mapper IgniteFunction<Double,Double>) : void in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Rename Parameter cacheName : String to matrixUuid : IgniteUuid in method public sparseMin(matrixUuid IgniteUuid) : double in class org.apache.ignite.ml.math.impls.CacheUtils | From | To | |
Rename Parameter cacheName : String to matrixUuid : IgniteUuid in method public sparseSum(matrixUuid IgniteUuid) : double in class org.apache.ignite.ml.math.impls.CacheUtils | From | To |