ToUpperCase
See javadoc - uk.gov.gchq.koryphe.impl.function.ToUpperCase
Available since Koryphe version 1.5.0
Returns null on any input object.
Examples
To upper case
Java
JSON
Full JSON
Python
final ToUpperCase function = new ToUpperCase();
{
"class" : "ToUpperCase"
}
{
"class" : "uk.gov.gchq.koryphe.impl.function.ToUpperCase"
}
g.ToUpperCase()
Input type:
java.lang.Object
Example inputs:
Input Type | Input | Result Type | Result |
---|---|---|---|
java.lang.Integer | 4 | java.lang.String | 4 |
java.lang.Long | 5 | java.lang.String | 5 |
java.lang.String | ACAPTIALISEDSTRING | java.lang.String | ACAPTIALISEDSTRING |
java.lang.String | alowercasestring | java.lang.String | ALOWERCASESTRING |
java.lang.String | aString | java.lang.String | ASTRING |
java.util.Arrays$ArrayList | [6, 3] | java.lang.String | [6, 3] |
null | null |