If you can use a String instead of chars, you could make the valid complements static final. Then the JVM will intern them and you can legitimately do a == comparison to check if it matches.
public static final String s1 = "AU".intern();
public static final String s2 = "UA".intern();
public static final String s3 = "CG".intern();
public static final String s4 = "GC".intern();
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy