test_class.file: tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraphTest.java
test_class.identifier: TinkerGraphTest
test_case.body: @Test
      public void shouldSerializeTinkerGraphToGryo() throws Exception {
          final TinkerGraph graph = TinkerFactory.createModern();
          try (final ByteArrayOutputStream out = new ByteArrayOutputStream()) {
              graph.io(IoCore.gryo()).writer().create().writeObject(out, graph);
              final byte[] b = out.toByteArray();
              try (final ByteArrayInputStream inputStream = new ByteArrayInputStream(b)) {
                  final TinkerGraph target = graph.io(IoCore.gryo()).reader().create().readObject(inputStream, TinkerGraph.class);
                  IoTest.assertModernGraph(target, true, false);
              }
          }
      }
test_case.class_method_signature: TinkerGraphTest.shouldSerializeTinkerGraphToGryo()
test_case.full_signature: @Test public void shouldSerializeTinkerGraphToGryo()
test_case.identifier: shouldSerializeTinkerGraphToGryo
test_case.invocations: createModern writeObject create writer io gryo toByteArray readObject create reader io gryo assertModernGraph
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldSerializeTinkerGraphToGryo()
focal_class.declarator: EMPTY_CONFIGURATION = new BaseConfiguration() {{
          this.setProperty(Graph.GRAPH, TinkerGraph.class.getName());
      }}
focal_class.modifier: private static final
focal_class.original_string: private static final Configuration EMPTY_CONFIGURATION = new BaseConfiguration() {{
          this.setProperty(Graph.GRAPH, TinkerGraph.class.getName());
      }};
focal_class.type: Configuration
focal_class.var_name: EMPTY_CONFIGURATION
focal_class.declarator: CONFIG_VERTEX_ID = "gremlin.tinkergraph.vertexIdManager"
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final String CONFIG_VERTEX_ID = "gremlin.tinkergraph.vertexIdManager";
focal_class.type: String
focal_class.var_name: CONFIG_VERTEX_ID
focal_class.declarator: CONFIG_EDGE_ID = "gremlin.tinkergraph.edgeIdManager"
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final String CONFIG_EDGE_ID = "gremlin.tinkergraph.edgeIdManager";
focal_class.type: String
focal_class.var_name: CONFIG_EDGE_ID
focal_class.declarator: CONFIG_VERTEX_PROPERTY_ID = "gremlin.tinkergraph.vertexPropertyIdManager"
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final String CONFIG_VERTEX_PROPERTY_ID = "gremlin.tinkergraph.vertexPropertyIdManager";
focal_class.type: String
focal_class.var_name: CONFIG_VERTEX_PROPERTY_ID
focal_class.declarator: CONFIG_DEFAULT_VERTEX_PROPERTY_CARDINALITY = "gremlin.tinkergraph.defaultVertexPropertyCardinality"
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final String CONFIG_DEFAULT_VERTEX_PROPERTY_CARDINALITY = "gremlin.tinkergraph.defaultVertexPropertyCardinality";
focal_class.type: String
focal_class.var_name: CONFIG_DEFAULT_VERTEX_PROPERTY_CARDINALITY
focal_class.declarator: CONFIG_GRAPH_LOCATION = "gremlin.tinkergraph.graphLocation"
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final String CONFIG_GRAPH_LOCATION = "gremlin.tinkergraph.graphLocation";
focal_class.type: String
focal_class.var_name: CONFIG_GRAPH_LOCATION
focal_class.declarator: CONFIG_GRAPH_FORMAT = "gremlin.tinkergraph.graphFormat"
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final String CONFIG_GRAPH_FORMAT = "gremlin.tinkergraph.graphFormat";
focal_class.type: String
focal_class.var_name: CONFIG_GRAPH_FORMAT
focal_class.declarator: GREMLIN_TINKERGRAPH_VERTEX_ID_MANAGER = "gremlin.tinkergraph.vertexIdManager"
focal_class.modifier: public static final
focal_class.original_string: public static final String GREMLIN_TINKERGRAPH_VERTEX_ID_MANAGER = "gremlin.tinkergraph.vertexIdManager";
focal_class.type: String
focal_class.var_name: GREMLIN_TINKERGRAPH_VERTEX_ID_MANAGER
focal_class.declarator: GREMLIN_TINKERGRAPH_EDGE_ID_MANAGER = "gremlin.tinkergraph.edgeIdManager"
focal_class.modifier: public static final
focal_class.original_string: public static final String GREMLIN_TINKERGRAPH_EDGE_ID_MANAGER = "gremlin.tinkergraph.edgeIdManager";
focal_class.type: String
focal_class.var_name: GREMLIN_TINKERGRAPH_EDGE_ID_MANAGER
focal_class.declarator: GREMLIN_TINKERGRAPH_VERTEX_PROPERTY_ID_MANAGER = "gremlin.tinkergraph.vertexPropertyIdManager"
focal_class.modifier: public static final
focal_class.original_string: public static final String GREMLIN_TINKERGRAPH_VERTEX_PROPERTY_ID_MANAGER = "gremlin.tinkergraph.vertexPropertyIdManager";
focal_class.type: String
focal_class.var_name: GREMLIN_TINKERGRAPH_VERTEX_PROPERTY_ID_MANAGER
focal_class.declarator: GREMLIN_TINKERGRAPH_DEFAULT_VERTEX_PROPERTY_CARDINALITY = "gremlin.tinkergraph.defaultVertexPropertyCardinality"
focal_class.modifier: public static final
focal_class.original_string: public static final String GREMLIN_TINKERGRAPH_DEFAULT_VERTEX_PROPERTY_CARDINALITY = "gremlin.tinkergraph.defaultVertexPropertyCardinality";
focal_class.type: String
focal_class.var_name: GREMLIN_TINKERGRAPH_DEFAULT_VERTEX_PROPERTY_CARDINALITY
focal_class.declarator: GREMLIN_TINKERGRAPH_GRAPH_LOCATION = "gremlin.tinkergraph.graphLocation"
focal_class.modifier: public static final
focal_class.original_string: public static final String GREMLIN_TINKERGRAPH_GRAPH_LOCATION = "gremlin.tinkergraph.graphLocation";
focal_class.type: String
focal_class.var_name: GREMLIN_TINKERGRAPH_GRAPH_LOCATION
focal_class.declarator: GREMLIN_TINKERGRAPH_GRAPH_FORMAT = "gremlin.tinkergraph.graphFormat"
focal_class.modifier: public static final
focal_class.original_string: public static final String GREMLIN_TINKERGRAPH_GRAPH_FORMAT = "gremlin.tinkergraph.graphFormat";
focal_class.type: String
focal_class.var_name: GREMLIN_TINKERGRAPH_GRAPH_FORMAT
focal_class.declarator: features = new TinkerGraphFeatures()
focal_class.modifier: private final
focal_class.original_string: private final TinkerGraphFeatures features = new TinkerGraphFeatures();
focal_class.type: TinkerGraphFeatures
focal_class.var_name: features
focal_class.declarator: currentId = new AtomicLong(-1l)
focal_class.modifier: protected
focal_class.original_string: protected AtomicLong currentId = new AtomicLong(-1l);
focal_class.type: AtomicLong
focal_class.var_name: currentId
focal_class.declarator: vertices = new ConcurrentHashMap<>()
focal_class.modifier: protected
focal_class.original_string: protected Map<Object, Vertex> vertices = new ConcurrentHashMap<>();
focal_class.type: Map<Object, Vertex>
focal_class.var_name: vertices
focal_class.declarator: edges = new ConcurrentHashMap<>()
focal_class.modifier: protected
focal_class.original_string: protected Map<Object, Edge> edges = new ConcurrentHashMap<>();
focal_class.type: Map<Object, Edge>
focal_class.var_name: edges
focal_class.declarator: variables = null
focal_class.modifier: protected
focal_class.original_string: protected TinkerGraphVariables variables = null;
focal_class.type: TinkerGraphVariables
focal_class.var_name: variables
focal_class.declarator: graphComputerView = null
focal_class.modifier: protected
focal_class.original_string: protected TinkerGraphComputerView graphComputerView = null;
focal_class.type: TinkerGraphComputerView
focal_class.var_name: graphComputerView
focal_class.declarator: vertexIndex = null
focal_class.modifier: protected
focal_class.original_string: protected TinkerIndex<TinkerVertex> vertexIndex = null;
focal_class.type: TinkerIndex<TinkerVertex>
focal_class.var_name: vertexIndex
focal_class.declarator: edgeIndex = null
focal_class.modifier: protected
focal_class.original_string: protected TinkerIndex<TinkerEdge> edgeIndex = null;
focal_class.type: TinkerIndex<TinkerEdge>
focal_class.var_name: edgeIndex
focal_class.declarator: vertexIdManager
focal_class.modifier: protected final
focal_class.original_string: protected final IdManager<?> vertexIdManager;
focal_class.type: IdManager<?>
focal_class.var_name: vertexIdManager
focal_class.declarator: edgeIdManager
focal_class.modifier: protected final
focal_class.original_string: protected final IdManager<?> edgeIdManager;
focal_class.type: IdManager<?>
focal_class.var_name: edgeIdManager
focal_class.declarator: vertexPropertyIdManager
focal_class.modifier: protected final
focal_class.original_string: protected final IdManager<?> vertexPropertyIdManager;
focal_class.type: IdManager<?>
focal_class.var_name: vertexPropertyIdManager
focal_class.declarator: defaultVertexPropertyCardinality
focal_class.modifier: protected final
focal_class.original_string: protected final VertexProperty.Cardinality defaultVertexPropertyCardinality;
focal_class.type: VertexProperty.Cardinality
focal_class.var_name: defaultVertexPropertyCardinality
focal_class.declarator: configuration
focal_class.modifier: private final
focal_class.original_string: private final Configuration configuration;
focal_class.type: Configuration
focal_class.var_name: configuration
focal_class.declarator: graphLocation
focal_class.modifier: private final
focal_class.original_string: private final String graphLocation;
focal_class.type: String
focal_class.var_name: graphLocation
focal_class.declarator: graphFormat
focal_class.modifier: private final
focal_class.original_string: private final String graphFormat;
focal_class.type: String
focal_class.var_name: graphFormat
focal_class.file: tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraph.java
focal_class.identifier: TinkerGraph
focal_class.interfaces: implements Graph
focal_class.class_method_signature: TinkerGraph.TinkerGraph(final Configuration configuration)
focal_class.full_signature: private  TinkerGraph(final Configuration configuration)
focal_class.identifier: TinkerGraph
focal_class.modifiers: private
focal_class.parameters: (final Configuration configuration)
focal_class.signature:  TinkerGraph(final Configuration configuration)
focal_class.class_method_signature: TinkerGraph.open()
focal_class.full_signature: public static TinkerGraph open()
focal_class.identifier: open
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: TinkerGraph
focal_class.signature: TinkerGraph open()
focal_class.class_method_signature: TinkerGraph.open(final Configuration configuration)
focal_class.full_signature: public static TinkerGraph open(final Configuration configuration)
focal_class.identifier: open
focal_class.modifiers: public static
focal_class.parameters: (final Configuration configuration)
focal_class.return: TinkerGraph
focal_class.signature: TinkerGraph open(final Configuration configuration)
focal_class.class_method_signature: TinkerGraph.addVertex(final Object... keyValues)
focal_class.full_signature: @Override public Vertex addVertex(final Object... keyValues)
focal_class.identifier: addVertex
focal_class.modifiers: @Override public
focal_class.parameters: (final Object... keyValues)
focal_class.return: Vertex
focal_class.signature: Vertex addVertex(final Object... keyValues)
focal_class.class_method_signature: TinkerGraph.compute(final Class<C> graphComputerClass)
focal_class.full_signature: @Override public C compute(final Class<C> graphComputerClass)
focal_class.identifier: compute
focal_class.modifiers: @Override public
focal_class.parameters: (final Class<C> graphComputerClass)
focal_class.return: C
focal_class.signature: C compute(final Class<C> graphComputerClass)
focal_class.class_method_signature: TinkerGraph.compute()
focal_class.full_signature: @Override public GraphComputer compute()
focal_class.identifier: compute
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: GraphComputer
focal_class.signature: GraphComputer compute()
focal_class.class_method_signature: TinkerGraph.variables()
focal_class.full_signature: @Override public Variables variables()
focal_class.identifier: variables
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Variables
focal_class.signature: Variables variables()
focal_class.class_method_signature: TinkerGraph.io(final Io.Builder<I> builder)
focal_class.full_signature: @Override public I io(final Io.Builder<I> builder)
focal_class.identifier: io
focal_class.modifiers: @Override public
focal_class.parameters: (final Io.Builder<I> builder)
focal_class.return: I
focal_class.signature: I io(final Io.Builder<I> builder)
focal_class.class_method_signature: TinkerGraph.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: TinkerGraph.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: TinkerGraph.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: TinkerGraph.tx()
focal_class.full_signature: @Override public Transaction tx()
focal_class.identifier: tx
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Transaction
focal_class.signature: Transaction tx()
focal_class.class_method_signature: TinkerGraph.configuration()
focal_class.full_signature: @Override public Configuration configuration()
focal_class.identifier: configuration
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Configuration
focal_class.signature: Configuration configuration()
focal_class.class_method_signature: TinkerGraph.vertices(final Object... vertexIds)
focal_class.full_signature: @Override public Iterator<Vertex> vertices(final Object... vertexIds)
focal_class.identifier: vertices
focal_class.modifiers: @Override public
focal_class.parameters: (final Object... vertexIds)
focal_class.return: Iterator<Vertex>
focal_class.signature: Iterator<Vertex> vertices(final Object... vertexIds)
focal_class.class_method_signature: TinkerGraph.edges(final Object... edgeIds)
focal_class.full_signature: @Override public Iterator<Edge> edges(final Object... edgeIds)
focal_class.identifier: edges
focal_class.modifiers: @Override public
focal_class.parameters: (final Object... edgeIds)
focal_class.return: Iterator<Edge>
focal_class.signature: Iterator<Edge> edges(final Object... edgeIds)
focal_class.class_method_signature: TinkerGraph.loadGraph()
focal_class.full_signature: private void loadGraph()
focal_class.identifier: loadGraph
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loadGraph()
focal_class.class_method_signature: TinkerGraph.saveGraph()
focal_class.full_signature: private void saveGraph()
focal_class.identifier: saveGraph
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void saveGraph()
focal_class.class_method_signature: TinkerGraph.createElementIterator(final Class<T> clazz, final Map<Object, T> elements,
                                                                    final IdManager idManager,
                                                                    final Object... ids)
focal_class.full_signature: private Iterator<T> createElementIterator(final Class<T> clazz, final Map<Object, T> elements,
                                                                    final IdManager idManager,
                                                                    final Object... ids)
focal_class.identifier: createElementIterator
focal_class.modifiers: private
focal_class.parameters: (final Class<T> clazz, final Map<Object, T> elements,
                                                                    final IdManager idManager,
                                                                    final Object... ids)
focal_class.return: Iterator<T>
focal_class.signature: Iterator<T> createElementIterator(final Class<T> clazz, final Map<Object, T> elements,
                                                                    final IdManager idManager,
                                                                    final Object... ids)
focal_class.class_method_signature: TinkerGraph.features()
focal_class.full_signature: @Override public Features features()
focal_class.identifier: features
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Features
focal_class.signature: Features features()
focal_class.class_method_signature: TinkerGraph.validateHomogenousIds(final List<Object> ids)
focal_class.full_signature: private void validateHomogenousIds(final List<Object> ids)
focal_class.identifier: validateHomogenousIds
focal_class.modifiers: private
focal_class.parameters: (final List<Object> ids)
focal_class.return: void
focal_class.signature: void validateHomogenousIds(final List<Object> ids)
focal_class.class_method_signature: TinkerGraph.createIndex(final String key, final Class<E> elementClass)
focal_class.full_signature: public void createIndex(final String key, final Class<E> elementClass)
focal_class.identifier: createIndex
focal_class.modifiers: public
focal_class.parameters: (final String key, final Class<E> elementClass)
focal_class.return: void
focal_class.signature: void createIndex(final String key, final Class<E> elementClass)
focal_class.class_method_signature: TinkerGraph.dropIndex(final String key, final Class<E> elementClass)
focal_class.full_signature: public void dropIndex(final String key, final Class<E> elementClass)
focal_class.identifier: dropIndex
focal_class.modifiers: public
focal_class.parameters: (final String key, final Class<E> elementClass)
focal_class.return: void
focal_class.signature: void dropIndex(final String key, final Class<E> elementClass)
focal_class.class_method_signature: TinkerGraph.getIndexedKeys(final Class<E> elementClass)
focal_class.full_signature: public Set<String> getIndexedKeys(final Class<E> elementClass)
focal_class.identifier: getIndexedKeys
focal_class.modifiers: public
focal_class.parameters: (final Class<E> elementClass)
focal_class.return: Set<String>
focal_class.signature: Set<String> getIndexedKeys(final Class<E> elementClass)
focal_class.class_method_signature: TinkerGraph.selectIdManager(final Configuration config, final String configKey, final Class<? extends Element> clazz)
focal_class.full_signature: private static IdManager<?> selectIdManager(final Configuration config, final String configKey, final Class<? extends Element> clazz)
focal_class.identifier: selectIdManager
focal_class.modifiers: private static
focal_class.parameters: (final Configuration config, final String configKey, final Class<? extends Element> clazz)
focal_class.return: IdManager<?>
focal_class.signature: IdManager<?> selectIdManager(final Configuration config, final String configKey, final Class<? extends Element> clazz)
focal_method.body: @Override
      public <I extends Io> I io(final Io.Builder<I> builder) {
          return (I) builder.graph(this).registry(TinkerIoRegistry.getInstance()).create();
      }
focal_method.class_method_signature: TinkerGraph.io(final Io.Builder<I> builder)
focal_method.full_signature: @Override public I io(final Io.Builder<I> builder)
focal_method.identifier: io
focal_method.invocations: create registry graph getInstance
focal_method.modifiers: @Override public
focal_method.parameters: (final Io.Builder<I> builder)
focal_method.return: I
focal_method.signature: I io(final Io.Builder<I> builder)