|
|||||
Previous Next |
The Byte type is the Integer type with a 8 bits (1 byte) precision, that is values from -128 to 127. Literals has the same structure as Integer ones.
Operation Summary | |
Byte
|
+ This byte. |
Byte
|
+(Byte rhs)
The value of the addition of this byte and rhs. |
Byte
|
&(Byte rhs)
The bitwise and of this byte and rhs. |
Byte
|
~ The bitwise negation of this byte. |
Byte
|
|(Byte rhs)
The bitwise inclusive or of this byte and rhs. |
Byte
|
^(Byte rhs)
The bitwise exclusive or of this byte and rhs. |
Real
|
/(Byte rhs)
The value of this byte divided by rhs. |
Boolean
|
=(Byte rhs)
True if this byte is equal to rhs. |
Boolean
|
>=(Byte rhs)
True if this byte is greater than or equal to rhs. |
Boolean
|
>(Byte rhs)
True if this byte if greater than rhs. |
Boolean
|
<=(Byte rhs)
True if this byte is less than or equal to rhs. |
Boolean
|
<(Byte rhs)
True if this byte is less than rhs. |
Byte
|
*(Byte rhs)
The value of the multiplication of this byte and rhs. |
Boolean
|
<>(Byte rhs)
True if this byte is not equal to rhs. |
Byte
|
<<(Integer shift)
This byte whose bits has been shifted shift times left. |
Byte
|
>>(Integer rhs)
This byte whose bits has been shifted shift times right. |
Byte
|
- The opposite of this byte. |
Byte
|
-(Byte rhs)
The value of the substraction of rhs from this byte. |
Byte
|
abs The absolute value of this byte. |
Byte
|
div(Byte rhs)
The number of times that rhs completely fits within this byte. |
Byte
|
floor This byte. |
Byte
|
max(Byte rhs)
The maximum of this byte and rhs. |
Byte
|
min(Byte rhs)
The minimum of this byte and rhs. |
Byte
|
mod(Integer rhs)
The result is this byte modulo rhs. |
Byte
|
round This byte. |
String
|
toString A representative character string of this byte. |
Operations inherited from type Short |
+, &,
|, ^, /,
=, >=,
>, <=,
<, *,
<>, -,
div, max,
min
|
Operations inherited from type Int |
+, &,
|, ^, /,
=, >=, >,
<=, <,
*, <>,
-, div, max,
min
|
Operations inherited from type Long |
+, &,
|, ^, /,
=, >=, >, <=,
<, *, <>,
-, div, max,
min
|
Operations inherited from type Integer |
+, /,
=, >=,
>, <=,
<, *,
<>, -,
div, max,
min
|
Operations inherited from type Real |
+, /, =,
>=, >,
<=, <,
*, <>,
-, max, min,
random
|
Operations inherited from type OclAny |
=, <>,
oclAsType, oclIsKindOf,
oclIsTypeOf
|
Operations inherited from type Float |
+, /,
=, >=,
>, <=,
<, *,
<>, -,
max, min
|
Operations inherited from type Double |
+, /,
=, >=,
>, <=,
<, *,
<>, -,
max, min
|
Operations Detail |
public Byte floor
floor
in type Short
public Byte round
round
in type
Short
public Boolean =(Byte rhs)
public Boolean <>(Byte rhs)
public Byte +
+
in type Short
public Byte -
-
in type Short
public Byte +(Byte rhs)
public Byte -(Byte rhs)
public Byte *(Byte rhs)
public Real /(Byte rhs)
public Byte abs
abs
in type Short
public Byte div(Byte rhs)
public Byte mod(Integer rhs)
mod
in type Short
public Byte max(Byte rhs)
public Byte min(Byte rhs)
public Byte ~
~
in type Short
public Byte &(Byte rhs)
public Byte |(Byte rhs)
public Byte ^(Byte rhs)
public Byte <<(Integer shift)
<<
in type
Short
public Byte >>(Integer rhs)
>>
in type
Short
public Boolean <(Byte rhs)
public Boolean >(Byte rhs)
public Boolean <=(Byte rhs)
public Boolean >=(Byte rhs)
public String toString
toString
in type Short
|
|||||
Previous Next |