
com.github.moleksyuk.psl.commons.guava.functions.string.ToUpperCase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of psl-commons Show documentation
Show all versions of psl-commons Show documentation
PSL Commons is a package of Java utility classes for well know frameworks/libraries: guava, apache commons, guice, jersey, spring ect.
The newest version!
package com.github.moleksyuk.psl.commons.guava.functions.string;
import com.google.common.base.Function;
/**
* Function that transforms each item of {@code Iterable}
* into a upper case using {@link String#toUpperCase()}.
*
* @author Mykhailo Oleksiuk
*/
public final class ToUpperCase implements Function {
@Override
public String apply(String input) {
return input == null ? null : input.toUpperCase();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy