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 an
Attachable can connect to.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic VertexgetHostingVertex(Object object) Extracts theVertexthat is holding the specified object.
-
Method Details
-
getHostingVertex
Extracts theVertexthat is holding the specified object.- Throws:
IllegalStateException- if the object is not a graph element type
-