object Util
- Alphabetic
- By Inheritance
- Util
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
StrictMapValues[A, B] extends AnyRef
Wrapper class for a strict mapValues
-
implicit
class
ToSortedMap[A, B] extends AnyRef
Wrapper class which provides toSortedMap.
-
class
Unreachable extends Exception
Used to mark cases, that should be unreachable.
Used to mark cases, that should be unreachable. like unreachable! in rust.
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
indent(indent: Int, s: String): String
Indent a string, by preceeding spaces to the beginning of each line.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
joinMaps[K, A, B](map1: Map[K, A], map2: Map[K, B]): Iterable[(A, B)]
Join two maps.
Join two maps. Combine key and values into a tuple if the keys match.
- Exceptions thrown
IllegalArgumentExceptionthere are keys that only exist in one of the maps.
-
def
joinMapsToMap[K, A, B, C](map1: Map[K, A], map2: Map[K, B])(fn: (A, B) ⇒ C): Map[K, C]
Join two maps into a new map.
Join two maps into a new map. Combine values with a function if the keys match.
- Exceptions thrown
IllegalArgumentExceptionthere are keys that only exist in one of the maps.
-
def
joinMapsWith[K, A, B, C](map1: Map[K, A], map2: Map[K, B])(fn: (A, B) ⇒ C): Iterable[C]
Join two maps.
Join two maps. Combine values with a function if the keys match.
- Exceptions thrown
IllegalArgumentExceptionthere are keys that only exist in one of the maps.
-
def
joinMapsWithKey[K, A, B](map1: Map[K, A], map2: Map[K, B]): Iterable[(K, A, B)]
Join two maps.
Join two maps. Combine key and values into a tuple if the keys match.
- Exceptions thrown
IllegalArgumentExceptionif there are keys that only exist in one of the maps.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
time[R](block: ⇒ R): Long
Measure the time it takes to run a piece of code.
-
def
timeRet[R](block: ⇒ R): (Long, R)
Measure the time it takes to run a piece of code.
Measure the time it takes to run a piece of code.
Return the time and the result of the block.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unreachable(msg: String = ""): Nothing
Used to mark cases, that should be unreachable.
Used to mark cases, that should be unreachable. like unreachable! in rust.
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )