CharSequence

Java's String class implements its CharSequence interface. D's string is not a class at all, so it cannot directly do that. Instead, this translation of the interface has static methods to return a dummy class wrapping D's string.

interface CharSequence : JavaInterface!("java.lang", CharSequence) {}

Members

Static functions

fromDString
CharSequence fromDString(string data)
fromDString
CharSequence fromDString(wstring data)

Meta