Interface Graph.Variables
-
- All Known Implementing Classes:
TinkerGraphVariables
- Enclosing interface:
- Graph
public static interface Graph.Variables
Graph variables are a set of key/value pairs associated with the graph. The keys are String and the values are Objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Graph.Variables.Exceptions
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Map<String,Object>
asMap()
Gets the variables of theGraph
as aMap
.<R> Optional<R>
get(String key)
Gets a variable.Set<String>
keys()
Keys set for the available variables.void
remove(String key)
Removes a variable.void
set(String key, Object value)
Sets a variable.
-
-
-
Method Detail
-
remove
void remove(String key)
Removes a variable.
-
-