@@ -0,0 +1,699 @@
+package genome;%0A%0Apublic abstract class Chr %7B%0A%09%0A%09private final int numForDB;%0A%09private String str = null;%0A%09%0A%09public Chr(final int numForDB) %7B%0A%09%09this.numForDB = numForDB;%0A%09%7D;%0A%09public Chr(final String str) %7B%0A%09%09this.numForDB = Str2Num(str);%0A%09%7D%09%0A%09%0A%09public int getNumForDB() %7B%0A%09%09return numForDB;%0A%09%7D;%0A%09public String getStr() %7B%0A%09%09return (this.str==null)? (this.str = Num2Str(this.numForDB)) : this.str;%0A%09%7D;%0A%09%0A%09public abstract Chr%5B%5D AllChrs(Sex sex);%0A%09public abstract Chr%5B%5D AllChrs();%0A%09public abstract Chr%5B%5D NormalChrs();%0A%09public abstract boolean isSexChr();%0A%09public abstract boolean isSexChr(Sex sex);%0A%09%0A%09abstract protected String Num2Str(final int num);%0A%09abstract protected int Str2Num(final String str);%0A%7D%0A

add Chr interface (実装はまだ)