Size

final class Size(val rawSize: RawSize) extends ScalaNumber with Comparable[Size]
Companion:
object
class Number
class Object
trait Matchable
class Any

Value members

Concrete methods

def !=(x: Byte): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(x: Short): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(x: Int): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(x: Long): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def !=(other: Size): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

def %(x: Byte): Size

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(x: Short): Size

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(x: Int): Size

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(x: Long): Long

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def %(other: Size): Size

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

def &(x: Byte): Size

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(x: Short): Size

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(x: Int): Size

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(x: Long): Long

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def &(other: Size): Size

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

def *(x: Byte): Size

Returns the product of this value and x.

Returns the product of this value and x.

def *(x: Short): Size

Returns the product of this value and x.

Returns the product of this value and x.

def *(x: Int): Size

Returns the product of this value and x.

Returns the product of this value and x.

def *(x: Long): Long

Returns the product of this value and x.

Returns the product of this value and x.

def *(other: Size): Size

Returns the product of this value and x.

Returns the product of this value and x.

def +(x: Byte): Size

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(x: Short): Size

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(x: Int): Size

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(x: Long): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

def +(other: Size): Size

Returns the sum of this value and x.

Returns the sum of this value and x.

def -(x: Byte): Size

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(x: Short): Size

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(x: Int): Size

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(x: Long): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

def -(other: Size): Size

Returns the difference of this value and x.

Returns the difference of this value and x.

def /(x: Byte): Size

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(x: Short): Size

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(x: Int): Size

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(x: Long): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def /(other: Size): Size

Returns the quotient of this value and x.

Returns the quotient of this value and x.

def <(x: Byte): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(x: Short): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(x: Int): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(x: Long): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <(other: Size): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

def <<(x: Int): Size

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Example:
 6 << 3 == 48 // in binary: 0110 << 3 == 0110000 
def <<(x: Long): Size

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Example:
 6 << 3 == 48 // in binary: 0110 << 3 == 0110000 
def <=(x: Byte): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(x: Short): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(x: Int): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(x: Long): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def <=(other: Size): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

def ==(x: Byte): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(x: Short): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(x: Int): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(x: Long): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def ==(other: Size): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

def >(x: Byte): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(x: Short): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(x: Int): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(x: Long): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >(other: Size): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

def >=(x: Byte): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(x: Short): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(x: Int): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(x: Long): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

def >=(other: Size): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

final def >>(x: Int): Size

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Example:
4294967275 >> 3 == 4294967293
// in binary: 11111111 11111111 11111111 11101011 >> 3 ==
//            11111111 11111111 11111111 11111101
final def >>(x: Long): Size

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

Example:
4294967275 >> 3 == 4294967293
// in binary: 11111111 11111111 11111111 11101011 >> 3 ==
//            11111111 11111111 11111111 11111101
def >>>(x: Int): Size

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Example:
 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010 
4294967275 >>> 3 == 536870909
// in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
//            00011111 11111111 11111111 11111101
def >>>(x: Long): Size

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Example:
 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010 
4294967275 >>> 3 == 536870909
// in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
//            00011111 11111111 11111111 11111101
def ^(x: Byte): Size

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(x: Short): Size

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(x: Int): Size

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(x: Long): Long

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

def ^(other: Size): Size

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

final override def compareTo(x: Size): Int
Definition Classes
override def doubleValue(): Double
Definition Classes
override def equals(other: Any): Boolean
Definition Classes
Any
override def floatValue(): Float
Definition Classes
override def hashCode: Int
Definition Classes
Any
override def intValue(): Int
Definition Classes
override def longValue(): Long
Definition Classes
final def max(that: Size): Size
final def min(that: Size): Size
def toPtr[T]: Ptr[T]
override def toString(): String
Definition Classes
Any

Returns the negated version of this value.

Returns the negated version of this value.

Returns the bitwise negation of this value.

Returns the bitwise negation of this value.

Example:
~5 == 4294967290
// in binary: ~00000101 ==
//             11111010
override def underlying: Size
Definition Classes
def |(x: Byte): Size

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(x: Short): Size

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(x: Int): Size

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(x: Long): Long

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

def |(other: Size): Size

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Inherited methods

Inherited from:
Number
Inherited from:
Number