litesoft
@ 977
litesoft / trunk / GWT_Sandbox / UIdesign / src / com / test / playground / Playground.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
package com.test.playground; public class Playground { public static char[] reverse( char[] pChars ) { if ( (pChars != null) && (pChars.length >= 2) ) { int zBackAt = pChars.length - 1; for ( int zFrontAt = 0; zFrontAt < zBackAt; zFrontAt++, zBackAt-- ) { char c = pChars[zFrontAt]; pChars[zFrontAt] = pChars[zBackAt]; pChars[zBackAt] = c; } } return pChars; } } |
Commits for litesoft/trunk/GWT_Sandbox/UIdesign/src/com/test/playground/Playground.java
Revision | Author | Commited | Message |
---|---|---|---|
977 | GeorgeS | Mon 03 Nov, 2014 00:25:42 +0000 | Test Playground. |