Class TinkerGraphVariables
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraphVariables
-
- All Implemented Interfaces:
Graph.Variables
public final class TinkerGraphVariables extends Object implements Graph.Variables
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Variables
Graph.Variables.Exceptions
-
-
Constructor Summary
Constructors Constructor Description TinkerGraphVariables()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Optional<R>get(String key)Gets a variable.Set<String>keys()Keys set for the available variables.voidremove(String key)Removes a variable.voidset(String key, Object value)Sets a variable.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Variables
asMap
-
-
-
-
Method Detail
-
keys
public Set<String> keys()
Description copied from interface:Graph.VariablesKeys set for the available variables.- Specified by:
keysin interfaceGraph.Variables
-
get
public <R> Optional<R> get(String key)
Description copied from interface:Graph.VariablesGets a variable.- Specified by:
getin interfaceGraph.Variables
-
remove
public void remove(String key)
Description copied from interface:Graph.VariablesRemoves a variable.- Specified by:
removein interfaceGraph.Variables
-
set
public void set(String key, Object value)
Description copied from interface:Graph.VariablesSets a variable.- Specified by:
setin interfaceGraph.Variables
-
-