Skip to content

Commit e255227

Browse files
fishercoder1534zhahui
authored andcommitted
add a util method
1 parent 722f746 commit e255227

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/java/com/fishercoder/common/utils/CommonUtils.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,14 @@ public static void printArrayArray(int[][] arrayArrays) {
221221
}
222222
System.out.println();
223223
}
224+
225+
public static void print2DCharArray(char[][] arrayArrays) {
226+
for (char[] array : arrayArrays) {
227+
for (char i : array) {
228+
System.out.print(i + ", ");
229+
}
230+
System.out.println();
231+
}
232+
System.out.println();
233+
}
224234
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy