ru.noties.spg.processor.util.TextUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of processor Show documentation
Show all versions of processor Show documentation
Android annotation based SharedPreferences Generator
The newest version!
package ru.noties.spg.processor.util;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public abstract class TextUtils {
public static boolean isEmpty(@Nullable CharSequence in) {
return in == null || in.length() == 0;
}
@NonNull
public static String capFirstLetter(@NonNull String value) {
return Character.toUpperCase(value.charAt(0)) + value.substring(1);
}
private TextUtils() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy