yafs
0.3.0
0.4.0-SNAPSHOT
0.3.0
yafs
/
de.clayntech.yafs.util
/
Extensions
Extensions
public
class
Extensions
Types
Functions
Properties
Types
File
Link copied to clipboard
public
class
File
Functions
collect
To
List
Link copied to clipboard
public
final
List
<
T
>
collectToList
<
T
extends
Any
>
(
Stream
<
T
>
$self
)
get
Optional
Link copied to clipboard
public
final
Optional
<
T
>
getOptional
<
K
extends
Any
,
T
extends
Any
>
(
Map
<
K
,
T
>
$self
,
K
key
)
put
Or
Throw
If
Exist
Link copied to clipboard
public
final
Unit
putOrThrowIfExist
<
K
extends
Any
,
T
extends
Any
>
(
Map
<
K
,
T
>
$self
,
K
key
,
T
value
,
Function0
<
Throwable
>
exceptionProvider
)
Properties
INSTANCE
Link copied to clipboard
public
final
static
Extensions
INSTANCE