shadow:standard@Integer<code>, shadow:standard@CanHash
immutable locked class code
Class code
contains the methods that can be called on code
values.
Modifiers | Return Types | Method and Description |
---|---|---|
public |
() |
create() |
Modifiers | Return Types | Method and Description |
---|---|---|
public |
() |
destroy() |
Modifiers | Return Types | Method and Description |
---|---|---|
public readonly locked |
(code) |
add(code other) |
public readonly locked |
(code) |
bitAnd(code other) |
public readonly locked |
(code) |
bitComplement() |
public readonly locked |
(code) |
bitOr(code other) |
public readonly locked |
(code) |
bitRotateLeft(int amount) Finds the result of left-rotating the bits of the |
public readonly locked |
(code) |
bitRotateLeft(uint amount) |
public readonly locked |
(code) |
bitRotateRight(int amount) Finds the result of right-rotating the bits of the |
public readonly locked |
(code) |
bitRotateRight(uint amount) |
public readonly locked |
(code) |
bitShiftLeft(int amount) Finds the result of left-shifting the bits of the |
public readonly locked |
(code) |
bitShiftLeft(uint amount) |
public readonly locked |
(code) |
bitShiftRight(int amount) Finds the result of right-shifting the bits of the |
public readonly locked |
(code) |
bitShiftRight(uint amount) |
public readonly locked |
(code) |
bitXor(code other) |
public readonly locked |
(int) |
compare(code other) |
public readonly |
(code) |
copy(AddressMap addresses) |
public readonly locked |
(code) |
divide(code other) |
public readonly locked |
(boolean) |
equal(code other) |
public readonly locked |
(code) |
max(code other) Finds the maximum of the current value and another |
public readonly locked |
(code) |
min(code other) Finds the minimum of the current value and another |
public readonly locked |
(code) |
modulus(code other) |
public readonly locked |
(code) |
multiply(code other) |
public readonly locked |
(code) |
subtract(code other) |
public readonly locked |
(byte) |
toByte() |
public readonly locked |
(code) |
toCode() |
public readonly locked |
(double) |
toDouble() |
public readonly locked |
(float) |
toFloat() |
public readonly locked |
(int) |
toInt() |
public readonly locked |
(long) |
toLong() |
public readonly locked |
(code) |
toLowerCase() Returns a lower-case version of this |
public readonly locked |
(short) |
toShort() |
public readonly locked |
(String) |
toString() Returns a |
public readonly locked |
(ubyte) |
toUByte() |
public readonly locked |
(uint) |
toUInt() |
public readonly locked |
(ulong) |
toULong() |
public readonly locked |
(ushort) |
toUShort() |
public readonly locked |
(code) |
toUpperCase() Returns an upper-case version of this |
Modifiers | Return Types | Method and Description |
---|---|---|
public readonly get locked |
(ulong) |
hash() Finds a hash value for the current value. |
public create() => ()
public destroy() => ()
public readonly locked bitComplement() => (code)
public readonly locked bitRotateLeft(int amount) => (code)
Finds the result of left-rotating the bits of the code
value by a signed amount which may be positive, negative, or zero.
amount
- bits to rotate
rotated value
public readonly locked bitRotateRight(int amount) => (code)
Finds the result of right-rotating the bits of the code
value by a signed amount which may be positive, negative, or zero.
amount
- bits to rotate
rotated value
public readonly locked bitShiftLeft(int amount) => (code)
Finds the result of left-shifting the bits of the code
value by a signed amount which may be positive, negative, or zero.
amount
- bits to shift
shifted value
public readonly locked bitShiftRight(int amount) => (code)
Finds the result of right-shifting the bits of the code
value by a signed amount which may be positive, negative, or zero.
amount
- bits to shift
shifted value
public readonly copy(AddressMap addresses) => (code)
public readonly locked max(code other) => (code)
Finds the maximum of the current value and another code
.
other
- value
maximum value
public readonly locked min(code other) => (code)
Finds the minimum of the current value and another code
.
other
- value
minimum value
public readonly locked toByte() => (byte)
public readonly locked toCode() => (code)
public readonly locked toDouble() => (double)
public readonly locked toFloat() => (float)
public readonly locked toInt() => (int)
public readonly locked toLong() => (long)
public readonly locked toLowerCase() => (code)
Returns a lower-case version of this code
if it represents an upper-case Latin letter. Otherwise, it returns the code
unchanged. Note that this method does not currently support accented Latin characters or non-Latin characters.
lower-case version
public readonly locked toShort() => (short)
public readonly locked toString() => (String)
Returns a String
representation of the value, containing this single code
value.
String
representation
public readonly locked toUByte() => (ubyte)
public readonly locked toUInt() => (uint)
public readonly locked toULong() => (ulong)
public readonly locked toUShort() => (ushort)
public readonly locked toUpperCase() => (code)
Returns an upper-case version of this code
if it represents a lower-case Latin letter. Otherwise, it returns the code
unchanged. Note that this method does not currently support accented Latin characters or non-Latin characters.
upper-case version
public readonly get locked hash() => (ulong)
Finds a hash value for the current value.
hash value