mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
fix line numbers in link for nullable and co
This commit is contained in:
12
README.md
12
README.md
@@ -2549,15 +2549,15 @@ Therefore you want to turn the platform type into the nullable version.
|
||||
|
||||
You need to use a cast to do this. But depending on your return type this might be cumbersome especially if you deal with type parameters.
|
||||
Thus, Atrium provides the following functions to ease dealing with Java Code at least for some standard cases:
|
||||
- [`nullable`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L19)
|
||||
turns a type into a nullable type.
|
||||
- [`nullableContainer`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L40)
|
||||
- [`nullable`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L18)
|
||||
turns a type into a nullable type and a return type of a KFunction into a nullable type.
|
||||
- [`nullableContainer`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L30)
|
||||
turns an `Iterable` into an iterable with nullable element type, likewise it does the same for `Array`.
|
||||
- [`nullableKeyMap`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L66)
|
||||
- [`nullableKeyMap`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L56)
|
||||
turns a `Map` into a map with a nullable key type.
|
||||
- [`nullableValueMap`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L79)
|
||||
- [`nullableValueMap`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L69)
|
||||
turns a `Map` into a map with a nullable value type.
|
||||
- [`nullableKeyValueMap`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L92)
|
||||
- [`nullableKeyValueMap`](https://github.com/robstoll/atrium/tree/master/logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/utils/nullable.kt#L82)
|
||||
turns a `Map` into a map with a nullable key and nullable value type.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user