Attributes
- Companion
- class
- Source
- Byte.scala
- Graph
-
- Supertypes
- Self type
-
Byte.type
Members list
Value members
Concrete methods
Transforms a value type into a boxed reference type.
Transforms a value type into a boxed reference type.
Runtime implementation determined by scala.runtime.BoxesRunTime.boxToByte. See src/library/scala/runtime/BoxesRunTime.java.
Value parameters
- x
-
the Byte to be boxed
Attributes
- Returns
-
a java.lang.Byte offering
xas its underlying value. - Source
- Byte.scala
The String representation of the scala.Byte companion object.
The String representation of the scala.Byte companion object.
Attributes
- Definition Classes
- Source
- Byte.scala
Transforms a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a java.lang.Byte.
Transforms a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a java.lang.Byte.
Runtime implementation determined by scala.runtime.BoxesRunTime.unboxToByte. See src/library/scala/runtime/BoxesRunTime.java.
Value parameters
- x
-
the java.lang.Byte to be unboxed.
Attributes
- Returns
-
the Byte resulting from calling byteValue() on
x - Throws
-
ClassCastException
if the argument is not a java.lang.Byte
- Source
- Byte.scala
Concrete fields
The largest value representable as a Byte.
The smallest value representable as a Byte.
Extensions
Deprecated extensions
Returns the absolute value of this.
Compares this to that according to the standard total ordering.
Compares this to that according to the standard total ordering.
Returns:
- a positive value if
this > that - a negative value if
this < that 0ifthis == that
Attributes
- Source
- Byte.scala
Returns true iff this is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.
Returns true iff this is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.
Attributes
- Deprecated
-
[Since version 3.10.0]isValidByte on Byte is always true - Source
- Byte.scala
Returns true iff this is within the range of scala.Char MinValue and MaxValue; otherwise returns false.
Returns true iff this is within the range of scala.Char MinValue and MaxValue; otherwise returns false.
Attributes
- Source
- Byte.scala
Returns true iff this is within the range of scala.Int MinValue and MaxValue; otherwise returns false.
Returns true iff this is within the range of scala.Int MinValue and MaxValue; otherwise returns false.
Attributes
- Deprecated
-
[Since version 3.10.0]isValidInt on Byte is always true - Source
- Byte.scala
Returns true iff this is within the range of scala.Short MinValue and MaxValue; otherwise returns false.
Returns true iff this is within the range of scala.Short MinValue and MaxValue; otherwise returns false.
Attributes
- Deprecated
-
[Since version 3.10.0]isValidShort on Byte is always true - Source
- Byte.scala
Returns '''true''' if this number has no decimal component. Always '''true''' for Byte.
Returns '''true''' if this number has no decimal component. Always '''true''' for Byte.
Attributes
- Deprecated
-
[Since version 2.12.15]isWhole on Byte is always true - Source
- Byte.scala
Returns this if this > that or that otherwise.
Returns this if this < that or that otherwise.
Returns the sign of this.
Returns the sign of this.
0 if this == 0, -1 if this < 0 and 1 if this > 0.
Attributes
- Source
- Byte.scala
Returns the signum of this.
Returns the signum of this.
Attributes
- Deprecated
-
[Since version 2.13.0]use `sign` method instead - Source
- Byte.scala
Implicits
Implicits
Attributes
- Source
- Byte.scala
Attributes
- Source
- Byte.scala
Attributes
- Source
- Byte.scala
Attributes
- Source
- Byte.scala
Attributes
- Source
- Byte.scala