public abstract class StarGraph.StarEdge extends StarGraph.StarElement<Edge> implements Edge
Edge.ExceptionsAttachable.Exceptions, Attachable.Method| Modifier and Type | Field and Description | 
|---|---|
| protected Object | otherId | 
id, labelDEFAULT_LABEL| Modifier and Type | Method and Description | 
|---|---|
| <V> Iterator<Property<V>> | properties(String... propertyKeys)Get an  Iteratorof properties where thepropertyKeysis meant to be a filter on the available
 keys. | 
| <V> Property<V> | property(String key,
        V value)Add or set a property value for the  Elementgiven its key. | 
| void | remove()Removes the  Elementfrom the graph. | 
| String | toString() | 
| Iterator<Vertex> | vertices(Direction direction)Retrieve the vertex (or vertices) associated with this edge as defined by the direction. | 
equals, get, graph, hashCode, id, labelclone, finalize, getClass, notify, notifyAll, wait, wait, waitbothVertices, inVertex, outVertexgraph, id, keys, label, property, value, valuesattachprotected final Object otherId
public <V> Property<V> property(String key, V value)
ElementElement given its key.public <V> Iterator<Property<V>> properties(String... propertyKeys)
EdgeIterator of properties where the propertyKeys is meant to be a filter on the available
 keys. If no keys are provide then return all the properties.properties in interface Edgeproperties in interface Elementpublic Iterator<Vertex> vertices(Direction direction)
EdgeDirection.BOTH then the iterator order is: Direction.OUT then Direction.IN.public void remove()
ElementElement from the graph.Copyright © 2013–2022 Apache Software Foundation. All rights reserved.