public class NetworkSample extends java.lang.Object implements NetworkState
Constructor and Description |
---|
NetworkSample() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Variable<T,?> variable) |
<T> T |
get(VariableReference variableReference) |
java.util.Set<VariableReference> |
getVariableReferences() |
public <T> T get(Variable<T,?> variable)
get
in interface NetworkState
T
- the type of the values that the vertex containsvariable
- the variable to get the values ofpublic <T> T get(VariableReference variableReference)
get
in interface NetworkState
T
- the type of the values that the variable containsvariableReference
- the reference to the variable to get the values ofpublic java.util.Set<VariableReference> getVariableReferences()
getVariableReferences
in interface NetworkState