Java Char Array to String charArrayToCharSequence( final char[] charArray)

Here you can find the source of charArrayToCharSequence( final char[] charArray)

Description

char Array To Char Sequence

License

Open Source License

Declaration

public static CharSequence charArrayToCharSequence(
        final char[] charArray) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {

    public static CharSequence charArrayToCharSequence(
            final char[] charArray) {
        return new StringBuilder().append(charArray == null ? new char[0]
                : charArray);/*from  w w  w. j  ava  2 s .c o  m*/
    }
}

Related

  1. charArrayToString(char[] ch, String separator)
  2. charArrayToString(char[] input, int offset, int length, int maxChars)
  3. charArrayToString(Character[] chars)
  4. charArrayToXml(char[] input, int offset, int length)