Something like the following:
ref example:
void changeString(ref String str) {
str = \"def\";
}
void main() {
String abc = \"abc\";
chan
Three solutions not officially, explicitly mentioned:
ArrayList<String> doThings() {
//
}
void doThings(ArrayList<String> list) {
//
}
Pair<String, String> doThings() {
//
}
For Pair, I would recommend: https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/tuple/Pair.html