Class MaxSpeed

java.lang.Object
org.jcsp.net.settings.Spec
org.jcsp.net.settings.MaxSpeed
All Implemented Interfaces:
XMLConfigConstants

public class MaxSpeed extends Spec implements XMLConfigConstants
Used internally within the JCSP network infrastructure to represent a maximum speed.
  • Field Details

    • maxSpeed

      private int maxSpeed
  • Constructor Details

    • MaxSpeed

      MaxSpeed(int maxSpeed)
  • Method Details

    • getStringValue

      public String getStringValue()
      Specified by:
      getStringValue in class Spec
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Spec
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Spec
    • getValue

      public int getValue()