Package org.apache.bookkeeper.versioning
Class LongVersion
- java.lang.Object
-
- org.apache.bookkeeper.versioning.LongVersion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.bookkeeper.versioning.Version
Version.Occurred
-
-
Constructor Summary
Constructors Constructor Description LongVersion(long v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
Version.Occurred
compare(Version v)
boolean
equals(java.lang.Object o)
long
getLongVersion()
int
hashCode()
LongVersion
setLongVersion(long v)
java.lang.String
toString()
-
-
-
Method Detail
-
compare
public Version.Occurred compare(Version v)
-
getLongVersion
public long getLongVersion()
-
setLongVersion
public LongVersion setLongVersion(long v)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-