Java Object NVL nvlArr(String[][] planarArr)

Here you can find the source of nvlArr(String[][] planarArr)

Description

nvl Arr

License

Apache License

Parameter

Parameter Description
planarArr a parameter

Declaration


public static void nvlArr(String[][] planarArr) 

Method Source Code

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

public class Main {
    /**/*from w  w  w  .  j a  v a2  s  .  c om*/
     *
     * @param planarArr
     * @return
     */

    public static void nvlArr(String[][] planarArr) {
        if (!("".equals(planarArr)) && !(planarArr == null)) {
            for (int i = 0; i < planarArr.length; i++) {
                for (int j = 0; j < planarArr[i].length; j++) {
                    if (planarArr[i][j] == null || "null".equalsIgnoreCase(planarArr[i][j].trim())) {
                        planarArr[i][j] = "";
                        System.out.println("\nplanarArr[" + i + "][" + j + "]=null!\n");
                    }
                    //System.out.print(planarArr[i][j]);
                }
                //System.out.println("\n");
            }
        }

    }
}

Related

  1. nvl(T... objs)
  2. nvl(T... objs)
  3. nvl(T... values)
  4. nvl(T... values)
  5. nvl2(Object obj, Object obj1, Object obj2)
  6. nvlDefault(String val)
  7. nvlEmptyString(String object)
  8. nvlInteger(String pString, Integer pInteger)
  9. nvlLang(Object contend)