object Version
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Version
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Unversioned: Version
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
combine(versions: Version*): Version
Create a combined, non-hash version from the given bytes.
Create a combined, non-hash version from the given bytes.
Returns Unversioned if at least one of versions is Unversioned.
The returned version is to differ from:
- all hash versions.
- all non-hash versions created with
from
methods. - combined versions created with different (ordered) version lists (including the empty list).
- Note
This can be used to create tagged versions (for alternatives):
Versions.combine(Versions.fromInt(0), underlying)
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromBytes(bytes: Array[Byte]): Version
Create a non-hash version from the given bytes.
Create a non-hash version from the given bytes.
Guaranteed to differ from:
- all hash versions.
- versions returned from combine.
- versions with different bytes.
-
def
fromInt(i: Int): Version
Create a non-hash version from an Int.
Create a non-hash version from an Int.
Strictly equivalent to (but potentially more efficient):
fromBytes(ByteBuffer.allocate(4).putInt(i).array())
-
def
fromLong(l: Long): Version
Create a non-hash version from a Long.
Create a non-hash version from a Long.
Strictly equivalent to (but potentially more efficient):
fromBytes(ByteBuffer.allocate(8).putLong(i).array())
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()