Class CacheBlockFactory
- java.lang.Object
-
- org.apache.sysds.runtime.controlprogram.caching.CacheBlockFactory
-
public class CacheBlockFactory extends Object
Factory to create instances of matrix/frame blocks given internal codes.
-
-
Constructor Summary
Constructors Constructor Description CacheBlockFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCode(CacheBlock<?> block)
static ArrayList<?>
getPairList(CacheBlock<?> block)
static CacheBlock<?>
newInstance(int code)
static CacheBlock<?>
newInstance(CacheBlock<?> block)
-
-
-
Method Detail
-
newInstance
public static CacheBlock<?> newInstance(int code)
-
newInstance
public static CacheBlock<?> newInstance(CacheBlock<?> block)
-
getCode
public static int getCode(CacheBlock<?> block)
-
getPairList
public static ArrayList<?> getPairList(CacheBlock<?> block)
-
-