Class SerializableTest.TestClass

java.lang.Object
nl.tudelft.simulation.language.reflection.SerializableTest.TestClass
All Implemented Interfaces:
Serializable
Enclosing class:
SerializableTest

public static class SerializableTest.TestClass extends Object implements Serializable
a class to serialize.
See Also:
  • Constructor Details

    • TestClass

      public TestClass(int value)
      serializable Constructor.
      Parameters:
      value - the value
  • Method Details

    • getSelf

      public SerializableTest.TestClass getSelf()
      Returns:
      self
    • getValue

      public int getValue()
      Returns:
      value
    • setValue

      public void setValue(int value)
      Parameters:
      value - set value
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object