SByte
class in package klyn

    public class SByte extends AbstractSignedInt implements ValueType:

Object
└ AbstractNumber
└ AbstractInt
└ AbstractSignedInt
└ SByte
All Implemented Interfaces: ValueType

Represents an 8-bit signed integer.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public static const | MAX_VALUE `MAX_VALUE as SByte = 127` | The greatest value representable by an SByte.
public static const | MIN_VALUE `MIN_VALUE as SByte = -128` | The smallest value representable by an SByte.

Inherited Properties
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public native | SByte `SByte()` | Builds the neutral SByte value (`0`).
public native | SByte `SByte(value: Boolean)` | Builds an SByte from a Boolean value (`false` = 0, `true` = 1).
public native | SByte `SByte(value: Char)` | Builds an SByte from a character code point.
public native | SByte `SByte(value: Double)` | Builds an SByte from a Double value.
public native | SByte `SByte(value: Float)` | Builds an SByte from a Float value.
public native | SByte `SByte(value: Int)` | Builds an SByte from a signed 32-bit integer.
public native | SByte `SByte(value: Long)` | Builds an SByte from a signed 64-bit integer.
public native | SByte `SByte(value: String) throws ValueException` | Builds an SByte from a textual representation.
public native | SByte `SByte(value: UInt)` | Builds an SByte from an unsigned 32-bit integer.
public native | SByte `SByte(value: ULong)` | Builds an SByte from an unsigned 64-bit integer.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public override | toString `toString() as String:` | Converts this value to its textual representation.
public static | tryParse `tryParse( readonly value as String, out result as SByte ) as Boolean:` | Parses an SByte value from text.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml
Operators

Modifier and Type | Member | Description
--- | --- | ---
public native static | operator!=( readonly a as SByte, readonly b as SByte ) as Boolean | Tests whether two SByte values are different.
public native static | operator%( readonly a as SByte, readonly b as SByte ) as SByte | Computes the remainder of one SByte value divided by another.
public native static | operator%=( readonly a as SByte, readonly b as SByte ) as Void | Replaces `a` with the remainder of `a` divided by `b`.
public native static | operator*( readonly a as SByte, readonly b as SByte ) as SByte | Multiplies two SByte values.
public native static | operator**( readonly value as SByte, readonly power as UInt ) as SByte | Raises a SByte value to a power.
public native static | operator**=( readonly value as SByte, readonly power as UInt ) as Void | Replaces `value` with `value ** power`.
public native static | operator*=( readonly a as SByte, readonly b as SByte ) as Void | Multiplies `a` by `b` in place.
public native static | operator+( readonly a as SByte, readonly b as SByte ) as SByte | Adds two SByte values.
public native static | operator+=( readonly a as SByte, readonly b as SByte ) as Void | Adds `b` to `a` in place.
public native static | operator-( readonly a as SByte, readonly b as SByte ) as SByte | Subtracts one SByte value from another.
public native static | operator-=( readonly a as SByte, readonly b as SByte ) as Void | Subtracts `b` from `a` in place.
public native static | operator/( readonly a as SByte, readonly b as SByte ) as Double | Divides one SByte value by another.
public native static | operator//( readonly a as SByte, readonly b as SByte ) as SByte | Performs integer division on two SByte values.
public native static | operator//=( readonly a as SByte, readonly b as SByte ) as Void | Replaces `a` with the integer division of `a` by `b`.
public native static | operator<( readonly a as SByte, readonly b as SByte ) as Boolean | Tests whether `a` is strictly lower than `b`.
public native static | operator<=( readonly a as SByte, readonly b as SByte ) as Boolean | Tests whether `a` is lower than or equal to `b`.
public native static | operator==( readonly a as SByte, readonly b as SByte ) as Boolean | Tests whether two SByte values are equal.
public native static | operator>( readonly a as SByte, readonly b as SByte ) as Boolean | Tests whether `a` is strictly greater than `b`.
public native static | operator>=( readonly a as SByte, readonly b as SByte ) as Boolean | Tests whether `a` is greater than or equal to `b`.