Package bgu.bio.util.alphabet

Examples of bgu.bio.util.alphabet.RnaAlphabet.complement()


        }

        RnaAlphabet alphabet = RnaAlphabet.getInstance();
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < str1.length(); i++) {
          sb.append(alphabet.complement(str1.charAt(i)));
        }

        result.put("command", "OK");
        result.put("result", sb.toString());
View Full Code Here


    }

    RnaAlphabet alphabet = RnaAlphabet.getInstance();
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < string.length(); i++) {
      sb.append(alphabet.complement(string.charAt(i)));
    }

    response.setResponse(sb.toString());

    return response;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.