Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    static String[][] tones, seals;
    static int yseal = 0, ytone = 0, magseal = 0, kin = 0;
    static int tone = 0, seal = 0, guide = 0, antipode = 0, occult = 0, analog = 0;

    public static int getYearSeal() {
        return yseal;
    }

    public static String GetYearSeal() {
        return GetYearSeal(yseal);
    }

    public static String GetYearSeal(int s) {
        return GetName(s);
    }

    public static String GetName() {
        return GetName(getSeal());
    }

    public static String GetName(int s) {
        return GetName(s, tone);
    }

    public static String GetName(int s, int t) {
        String seal = seals[s][0];
        seal = seal.replace(" ", " " + tones[t][0] + " ");
        return seal;
    }

    public static int getSeal() {
        return seal;
    }
}