projects
/
Sone.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d7fb59538c97d4e4f9e7eff79e2ff9af918c3011
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
utils
/
Functions.kt
1
package net.pterodactylus.sone.utils
2
3
import java.util.function.*
4
5
/** Allows easy invocation of Java Consumers. */
6
operator fun <T> Consumer<T>.invoke(t: T) = accept(t)