G - the type of the graph that owns this edge@ParametersAreNonnullByDefault public class IdEdge<G extends IdGraph<G>> extends IdElement<com.tinkerpop.blueprints.Edge,G> implements com.tinkerpop.blueprints.Edge
Edge able to map the result of each method call to a dedicated implementation.
 
 Re-implemented from com.tinkerpop.blueprints.util.wrappers.id.IdEdge.
propertyBasedgraphbase| Constructor and Description | 
|---|
| IdEdge(com.tinkerpop.blueprints.Edge base,
      G graph)Constructs a new  IdEdge. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getLabel() | 
| com.tinkerpop.blueprints.Vertex | getVertex(com.tinkerpop.blueprints.Direction direction) | 
| <E extends com.tinkerpop.blueprints.Vertex> | getVertex(com.tinkerpop.blueprints.Direction direction,
         BiFunction<com.tinkerpop.blueprints.Vertex,G,E> mappingFunc)Return the tail/out or head/in vertex. | 
| void | remove() | 
| String | toString() | 
equals, getId, getProperty, getPropertyKeys, hashCode, removeProperty, setPropertygetBaseElementpublic IdEdge(com.tinkerpop.blueprints.Edge base,
              G graph)
IdEdge.base - the base edgegraph - the graph that owns this edgepublic void remove()
remove in interface com.tinkerpop.blueprints.Element@Nonnull public com.tinkerpop.blueprints.Vertex getVertex(com.tinkerpop.blueprints.Direction direction)
getVertex in interface com.tinkerpop.blueprints.Edgepublic String getLabel()
getLabel in interface com.tinkerpop.blueprints.Edge@Nonnull public <E extends com.tinkerpop.blueprints.Vertex> E getVertex(com.tinkerpop.blueprints.Direction direction, BiFunction<com.tinkerpop.blueprints.Vertex,G,E> mappingFunc)
E - the type of the edge after mappingdirection - whether to return the tail/out or head/in vertexmappingFunc - the function to create a new dedicated vertex from anothergetVertex(Direction)Copyright © 2013–2019 Atlanmod. All rights reserved.