Class LocalVariableMap
- java.lang.Object
- 
- org.apache.sysds.runtime.controlprogram.LocalVariableMap
 
- 
- 
Constructor SummaryConstructors Constructor Description LocalVariableMap()LocalVariableMap(LocalVariableMap vars)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()longcountPinnedData()static LocalVariableMapdeserialize(String varStr)Set<Map.Entry<String,Data>>entrySet()Dataget(String name)Retrieves the data object given its name.doublegetPinnedDataSize()HashSet<String>getRegisteredOutputs()booleanhasReferences(Data d)Set<String>keySet()voidput(String name, Data val)Adds a new (name, value) pair to the variable map, or replaces an old pair with the same name.voidputAll(Map<String,Data> vals)voidputAll(LocalVariableMap vars)Dataremove(String name)voidremoveAll()voidremoveAllIn(Set<String> excludeList)voidremoveAllNotIn(Set<String> excludeList)Stringserialize()voidsetRegisteredOutputs(HashSet<String> outputs)StringtoString()
 
- 
- 
- 
Constructor Detail- 
LocalVariableMappublic LocalVariableMap() 
 - 
LocalVariableMappublic LocalVariableMap(LocalVariableMap vars) 
 
- 
 - 
Method Detail- 
getpublic Data get(String name) Retrieves the data object given its name.- Parameters:
- name- the variable name for the data object
- Returns:
- the direct reference to the data object
 
 - 
putpublic void put(String name, Data val) Adds a new (name, value) pair to the variable map, or replaces an old pair with the same name. Several different variable names may refer to the same value.- Parameters:
- name- the variable name for the data value
- val- the data value object (such as envelope)
 
 - 
putAllpublic void putAll(LocalVariableMap vars) 
 - 
removeAllpublic void removeAll() 
 - 
hasReferencespublic boolean hasReferences(Data d) 
 - 
getPinnedDataSizepublic double getPinnedDataSize() 
 - 
countPinnedDatapublic long countPinnedData() 
 - 
serializepublic String serialize() 
 - 
deserializepublic static LocalVariableMap deserialize(String varStr) 
 - 
clonepublic Object clone() 
 
- 
 
-