• R/O
  • HTTP
  • SSH
  • HTTPS

hayashi: Commit

hayashi lib.
java


Commit MetaInfo

Revisióna09bbfba7984dba5bceb0927104fa831dc95a6e4 (tree)
Tiempo2019-03-30 15:10:16
Autoryuu <hayashi.yuu@gmai...>
Commiteryuu

Log Message

print Mark.class

Cambiar Resumen

Diferencia incremental

--- /dev/null
+++ b/src/jp/co/areaweb/tools/database/Mark.java
@@ -0,0 +1,24 @@
1+package jp.co.areaweb.tools.database;
2+
3+/**
4+ *
5+ */
6+public class Mark {
7+ public static final int MARK_1 = 0; // "."
8+ public static final int MARK_2 = 1; // ":"
9+ public static final int MARK_3 = 2; // "*"
10+ public static final int MARK_4 = 3; // "-"
11+ public static int outCnt = 0;
12+
13+ public static void print(int mark) {
14+ outCnt++;
15+ if ((outCnt % 10) == 1) {
16+ System.out.print(".:*-".substring(mark));
17+ if (outCnt >= 800) {
18+ outCnt = 0;
19+ System.out.println();
20+ }
21+ }
22+ }
23+
24+}
Show on old repository browser