Class SerTestObject

java.lang.Object
org.fastnate.generator.test.primitive.SerTestObject
All Implemented Interfaces:
Serializable

public class SerTestObject extends Object implements Serializable
Used to test that serializable objects may be written.
Author:
Tobias Liefke
See Also:
  • Constructor Details

    • SerTestObject

      public SerTestObject()
    • SerTestObject

      public SerTestObject(String str, int num)
  • Method Details

    • getStr

      public String getStr()
    • getNum

      public int getNum()
    • setStr

      public void setStr(String str)
    • setNum

      public void setNum(int num)
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object