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 Host
A marker interface that identifies an object as something that anAttachable
can connect to.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Method Summary
Static Methods Modifier and Type Method Description static Vertex
getHostingVertex(Object object)
Extracts theVertex
that is holding the specified object.
-
-
-
Method Detail
-
getHostingVertex
static Vertex getHostingVertex(Object object)
Extracts theVertex
that is holding the specified object.- Throws:
IllegalStateException
- if the object is not a graph element type
-
-