Package com.complexible.common.rdf.query
Class ImmutableEdge
java.lang.Object
com.complexible.common.rdf.query.ImmutableEdge
- All Implemented Interfaces:
Edge
An immutable implementation of
Edge- Since:
- 5.0.4
- Version:
- 6.0
- Author:
- Evren Sirin
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ImmutableEdge
-
-
Method Details
-
getStart
Description copied from interface:EdgeReturns the start node of the edge. Equivalent togetBindings().getValue(getStartVar()). -
getEnd
Description copied from interface:EdgeReturns the end node of the edge. Equivalent togetBindings().getValue(getEndVar()). -
getBindings
Description copied from interface:EdgeReturns the bindings for the edge.- Specified by:
getBindingsin interfaceEdge- Returns:
- the bindings for the edge.
-
getWeight
-
equals
-
hashCode
public int hashCode() -
toString
-