Here you can find the source of nvlArr(String[][] planarArr)
Parameter | Description |
---|---|
planarArr | a parameter |
public static void nvlArr(String[][] planarArr)
//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"); } } } }