All Known Subinterfaces:
Graph, Vertex
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 Methods
    Modifier and Type
    Method
    Description
    static Vertex
    Extracts the Vertex that is holding the specified object.
  • Method Details

    • getHostingVertex

      static Vertex getHostingVertex(Object object)
      Extracts the Vertex that is holding the specified object.
      Throws:
      IllegalStateException - if the object is not a graph element type