somebody can tell how loop special cells in Java