Class gsLocation

java.lang.Object
eu.su.mas.dedale.env.gs.gsLocation
All Implemented Interfaces:
Location, Serializable

public class gsLocation extends Object implements Location
Location component for the graphStream environment
Author:
hc
See Also:
  • Constructor Details

    • gsLocation

      public gsLocation(String nodeId)
      Create a new location
      Parameters:
      nodeId - the string representation of this location identifier (must be unique)
  • Method Details

    • toString

      public String toString()
      Specified by:
      toString in interface Location
      Overrides:
      toString in class Object
    • getLocationId

      public String getLocationId()
      Specified by:
      getLocationId in interface Location
      Returns:
      the string representation of the identifier of this location
    • equals

      public boolean equals(Location l)
      Specified by:
      equals in interface Location
      Parameters:
      l - second location to compare this to
      Returns:
      True if this and l are equals