Class Memory

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

public class Memory extends Spec implements XMLConfigConstants
Used internally within the JCSP network infrastructure to represent a memory value.
  • Field Details

    • memory

      private int memory
  • Constructor Details

    • Memory

      Memory(int memory)
  • 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()