CharSequence
Text in general. String is one.
InterfaceJavaJava 11 docs
public interface CharSequenceAlso allowed
These work as in the Java 11 docs.
charAt, chars, codePoints, compare, equals, hashCode, length, subSequence, toString