Java Char to Int Array charToInt(char[] values)

Here you can find the source of charToInt(char[] values)

Description

char To Int

License

Open Source License

Declaration

public static int[] charToInt(char[] values) 

Method Source Code

//package com.java2s;

public class Main {
    public static int[] charToInt(char[] values) {
        if (values == null) {
            return null;
        }// www .  j a  va  2  s .  com

        int[] results = new int[values.length];
        for (int i = 0; i < values.length; i++) {
            results[i] = values[i];
        }
        return results;
    }
}

Related

  1. charToInt(char[] array)