Class LongVersion

  • All Implemented Interfaces:
    Version

    public class LongVersion
    extends java.lang.Object
    implements Version
    A version object holds integer version.
    • Field Detail

      • version

        protected long version
    • Constructor Detail

      • LongVersion

        public LongVersion​(long v)
    • Method Detail

      • getLongVersion

        public long getLongVersion()
      • setLongVersion

        public LongVersion setLongVersion​(long v)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object