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.
  • Method Details

    • keys

      Set<String> keys()
      Keys set for the available variables.
    • get

      <R> Optional<R> get(String key)
      Gets a variable.
    • set

      void set(String key, Object value)
      Sets a variable.
    • remove

      void remove(String key)
      Removes a variable.
    • asMap

      default Map<String,Object> asMap()
      Gets the variables of the Graph as a Map.