@Override
 public void complement() {
   final char base = getChar();
   switch (base) {
     case 'A':
       setChar('T');
       break;
     case 'T':
       setChar('A');
       break;
     case 'G':
       setChar('C');
       break;
     case 'C':
       setChar('G');
       break;
   }
 }
 public void set(final Base base) {
   switch (base) {
     case A:
       setChar('A');
       return;
     case T:
       setChar('T');
       return;
     case G:
       setChar('G');
       return;
     case C:
       setChar('C');
       return;
     case gap:
       setChar(' ');
       return;
     default:
       setChar('N');
       return;
   }
 }
 // this is the constructor if you want it to be a variable
 public BasePairCharType(final char value) {
   img = null;
   dataAccess = new CharArray(1);
   setChar(value);
 }