Constructor and Description |
---|
LocalVariableMap() |
LocalVariableMap(LocalVariableMap vars) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
long |
countPinnedData() |
static LocalVariableMap |
deserialize(String varStr) |
Set<Map.Entry<String,Data>> |
entrySet() |
Data |
get(String name)
Retrieves the data object given its name.
|
double |
getPinnedDataSize() |
HashSet<String> |
getRegisteredOutputs() |
boolean |
hasReferences(Data d) |
Set<String> |
keySet() |
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.
|
void |
putAll(LocalVariableMap vars) |
void |
putAll(Map<String,Data> vals) |
Data |
remove(String name) |
void |
removeAll() |
void |
removeAllIn(Set<String> excludeList) |
void |
removeAllNotIn(Set<String> excludeList) |
String |
serialize() |
void |
setRegisteredOutputs(HashSet<String> outputs) |
String |
toString() |
public LocalVariableMap()
public LocalVariableMap(LocalVariableMap vars)
public Data get(String name)
name
- the variable name for the data objectpublic void put(String name, Data val)
name
- the variable name for the data valueval
- the data value object (such as envelope)public void putAll(LocalVariableMap vars)
public void removeAll()
public boolean hasReferences(Data d)
public double getPinnedDataSize()
public long countPinnedData()
public String serialize()
public static LocalVariableMap deserialize(String varStr)
Copyright © 2020 The Apache Software Foundation. All rights reserved.