public final class TinkerGraphVariables extends Object implements Graph.Variables
Graph.Variables.Exceptions
Constructor and Description |
---|
TinkerGraphVariables() |
Modifier and Type | Method and Description |
---|---|
<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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asMap
public Set<String> keys()
Graph.Variables
keys
in interface Graph.Variables
public <R> Optional<R> get(String key)
Graph.Variables
get
in interface Graph.Variables
public void remove(String key)
Graph.Variables
remove
in interface Graph.Variables
public void set(String key, Object value)
Graph.Variables
set
in interface Graph.Variables
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.