Uint

data class Uint(v: Int) : Number, Comparable<Uint>

Created by GBarbieri on 20.03.2017.

Constructors

Uint
Link copied to clipboard
fun Uint(number: Number)
Uint
Link copied to clipboard
fun Uint(string: String, base: Int = 10)
Uint
Link copied to clipboard
fun Uint(v: Int = 0)

Types

Companion
Link copied to clipboard
object Companion

Functions

and
Link copied to clipboard
infix fun and(b: Int): Uint
infix fun and(b: Uint): Uint
compareTo
Link copied to clipboard
operator fun compareTo(other: Int): Int
open operator override fun compareTo(other: Uint): Int
component1
Link copied to clipboard
operator fun component1(): Int
copy
Link copied to clipboard
fun copy(v: Int = 0): Uint
dec
Link copied to clipboard
operator fun dec(): Uint
div
Link copied to clipboard
infix operator fun div(b: Int): Uint
infix operator fun div(b: Uint): Uint
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
inc
Link copied to clipboard
operator fun inc(): Uint
inv
Link copied to clipboard
fun inv(): Uint
minus
Link copied to clipboard
infix operator fun minus(b: Int): Uint
infix operator fun minus(b: Uint): Uint
or
Link copied to clipboard
infix fun or(b: Int): Uint
infix fun or(b: Uint): Uint
plus
Link copied to clipboard
infix operator fun plus(b: Int): Uint
infix operator fun plus(b: Uint): Uint
rem
Link copied to clipboard
infix operator fun rem(b: Int): Uint
infix operator fun rem(b: Uint): Uint
shl
Link copied to clipboard
infix fun shl(b: Int): Uint
infix fun shl(b: Uint): Uint
shr
Link copied to clipboard
infix fun shr(b: Int): Uint
infix fun shr(b: Uint): Uint
times
Link copied to clipboard
infix operator fun times(b: Int): Uint
infix operator fun times(b: Uint): Uint
toBigInt
Link copied to clipboard
fun toBigInt(): BigInteger
toByte
Link copied to clipboard
open override fun toByte(): Byte
toChar
Link copied to clipboard
open override fun toChar(): Char
toDouble
Link copied to clipboard
open override fun toDouble(): Double
toFloat
Link copied to clipboard
open override fun toFloat(): Float
toInt
Link copied to clipboard
open override fun toInt(): Int
toLong
Link copied to clipboard
open override fun toLong(): Long
toShort
Link copied to clipboard
open override fun toShort(): Short
toString
Link copied to clipboard
open override fun toString(): String
fun toString(radix: Int): String
fun toString(format: String): String
xor
Link copied to clipboard
infix fun xor(b: Int): Uint
infix fun xor(b: Uint): Uint

Properties

v
Link copied to clipboard
var v: Int = 0

Sources

(source)
Link copied to clipboard