final class Version extends AnyVal
A version of a thing
Versions are always optional, Version.Unversioned being the sentinel.
The remaining versions come in two fundamentally different flavors:
- Hashes: They are stable in serialized form, Serializers will write them to IR files. The only way to create these versions is via Hashers.
- Non hashes: Not guaranteed to be stable / collision free across different programs. Never written to IR files.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Version
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
sameVersion(that: Version): Boolean
Checks whether two versions are known to be the same.
Checks whether two versions are known to be the same.
Returns false if either of the versions is Version.Unversioned
-
def
toString(): String
- Definition Classes
- Any