object Misc
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Misc
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clamped(value: Int, minValue: Int, maxValue: Int): Int
Clamps the given value inside the interval [minValue, maxValue].
Clamps the given value inside the interval [minValue, maxValue].
- value
the integer number to clamp
- minValue
the minimum admitted integer
- maxValue
the maximum admitted integer
- returns
the clamped value
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEven(number: Int): Boolean
Tells if an integer number is even.
Tells if an integer number is even.
- number
the number
- returns
true if even, false otherwise
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOdd(number: Int): Boolean
Tells if an integer number is odd.
Tells if an integer number is odd.
- number
the number
- returns
true if odd, false otherwise
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
roundDown(doubleValue: Double): Int
Rounds down a Double value an converts it to an Int.
Rounds down a Double value an converts it to an Int.
- doubleValue
the value to convert
- returns
the converted value
-
def
roundUp(doubleValue: Double): Int
Rounds up a Double value an converts it to an Int.
Rounds up a Double value an converts it to an Int.
- doubleValue
the value to convert
- returns
the converted value
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )