11 lines
288 B
Kotlin
11 lines
288 B
Kotlin
package com.cubetiqs.function.extremestring
|
|
|
|
import org.springframework.stereotype.Component
|
|
import java.util.function.Function
|
|
|
|
@Component
|
|
class ExtremeString : Function<String, String> {
|
|
override fun apply(t: String): String {
|
|
return "Received => ${t.toUpperCase()}"
|
|
}
|
|
} |