Interface Host
-
- All Known Implementing Classes:
AbstractTinkerGraph,ComputerGraph,ComputerGraph.ComputerAdjacentVertex,ComputerGraph.ComputerVertex,DetachedVertex,EmptyGraph,ReferenceVertex,RemoteGraph,StarGraph,StarGraph.StarAdjacentVertex,StarGraph.StarVertex,TinkerGraph,TinkerTransactionGraph,TinkerVertex
public interface HostA marker interface that identifies an object as something that anAttachablecan connect to.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Method Summary
Static Methods Modifier and Type Method Description static VertexgetHostingVertex(Object object)Extracts theVertexthat is holding the specified object.
-
-
-
Method Detail
-
getHostingVertex
static Vertex getHostingVertex(Object object)
Extracts theVertexthat is holding the specified object.- Throws:
IllegalStateException- if the object is not a graph element type
-
-