Java Array From toArray(final String[] strings)

Here you can find the source of toArray(final String[] strings)

Description

to Array

License

Apache License

Declaration

public static char[][] toArray(final String[] strings) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static char[][] toArray(final String[] strings) {
        if (strings == null) {
            return null;
        }//from   ww  w .  j a  va 2 s  . c o m
        final char[][] res = new char[strings.length][];
        for (int i = 0; i < strings.length; i++) {
            res[i] = strings[i].toCharArray();
        }
        return res;
    }
}

Related

  1. toArray(Double[] array)
  2. toArray(E[] o)
  3. toArray(final double d)
  4. toArray(final int ip)
  5. ToArray(final Object... toSmashIntoArray)
  6. toArray(final T... array)
  7. toArray(final T... items)
  8. toArray(final Throwable throwable)
  9. toArray(float[] floatArray)