Java char arratlist в масив

Примерен код

0
0

N

public char[] toArray(List<Character> list){
    char[] toReturn = new char[list.size()];
    int i = 0;
    for(char c : list)
        toReturn[i ++] = c;
    return toReturn;
}

На други езици

Тази страница на други езици

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Íslensk
..................................................................................................................