Ushort

data class Ushort(v: Short) : Number, Comparable<Ushort>

Created by GBarbieri on 20.03.2017.

Constructors

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

Types

Companion
Link copied to clipboard
object Companion

Functions

and
Link copied to clipboard
infix fun and(b: Int): Ushort
infix fun and(b: Short): Ushort
infix fun and(b: Ushort): Ushort
compareTo
Link copied to clipboard
operator fun compareTo(other: Int): Int
operator fun compareTo(other: Short): Int
open operator override fun compareTo(other: Ushort): Int
component1
Link copied to clipboard
operator fun component1(): Short
copy
Link copied to clipboard
fun copy(v: Short = 0): Ushort
dec
Link copied to clipboard
operator fun dec(): Ushort
div
Link copied to clipboard
infix operator fun div(b: Int): Ushort
infix operator fun div(b: Short): Ushort
infix operator fun div(b: Ushort): Ushort
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(): Ushort
inv
Link copied to clipboard
fun inv(): Ushort
minus
Link copied to clipboard
infix operator fun minus(b: Int): Ushort
infix operator fun minus(b: Short): Ushort
infix operator fun minus(b: Ushort): Ushort
or
Link copied to clipboard
infix fun or(b: Int): Ushort
infix fun or(b: Short): Ushort
infix fun or(b: Ushort): Ushort
plus
Link copied to clipboard
infix operator fun plus(b: Int): Ushort
infix operator fun plus(b: Short): Ushort
infix operator fun plus(b: Ushort): Ushort
rem
Link copied to clipboard
infix operator fun rem(b: Int): Ushort
infix operator fun rem(b: Short): Ushort
infix operator fun rem(b: Ushort): Ushort
shl
Link copied to clipboard
infix fun shl(b: Int): Ushort
infix fun shl(b: Short): Ushort
infix fun shl(b: Ushort): Ushort
shr
Link copied to clipboard
infix fun shr(b: Int): Ushort
infix fun shr(b: Short): Ushort
infix fun shr(b: Ushort): Ushort
times
Link copied to clipboard
infix operator fun times(b: Int): Ushort
infix operator fun times(b: Short): Ushort
infix operator fun times(b: Ushort): Ushort
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): Ushort
infix fun xor(b: Short): Ushort
infix fun xor(b: Ushort): Ushort

Properties

v
Link copied to clipboard
var v: Short = 0

Sources

(source)
Link copied to clipboard