Examples of Sequence


Examples of org.wijiscommons.cdcl.rulesheet.language.Sequence

            if (BLANK_PATTERN_MATCHER.isBlank(sourceLine) || COMMENT_PATTERN_MATCHER.isComment(sourceLine))
            {
                continue;
            }
           
            Sequence sequence = processSourceLine(sourceLine, ruleSheetSourceFile.getCurrentSourceLineNumber());
           
            // ----- Test Code
            System.out.println("New sequence of type - " + sequence.getSequenceType());
            for (Token token : sequence.getTokens())
            {
                System.out.println("Token - " + token.getTokenType());
            }
            System.out.println("________________________");
            // ---- Test Code

Examples of org.wso2.carbon.bam.stub.statquery.Sequence

    }

    public String getSequences(int serverID)
            throws BAMException {

        Sequence sequences[] = null;

        if (bamDSClient != null) {
            sequences = bamDSClient.getSequences(serverID);
        }

Examples of r.nodes.ast.Sequence

        }
        if (parent instanceof Function) {
            return true;
        }
        if (parent instanceof Sequence) {
            Sequence parentSeq = (Sequence) parent;
            ASTNode[] exprs = parentSeq.getExprs();
            return (exprs[exprs.length - 1] == n) && isTrailingInAFunction(parentSeq);
        }
        if (parent instanceof If) {
            If parentIf = (If) parent;
            ASTNode trueBranch = parentIf.getTrueCase();

Examples of ru.autosome.perfectosape.model.Sequence

  // TODO: reverse-complement matrix, not the sequence
  Map<Position, Double> scores_by_position() {
    if (cache_score_by_position == null) {
      cache_score_by_position = new HashMap<Position,Double>();
      for (Position position: positions_to_check) {
        Sequence subsequence = sequence.substring(position, pwm.length());
        cache_score_by_position.put(position, pwm.score(subsequence));
      }
    }
    return cache_score_by_position;
  }

Examples of soc.qase.com.packet.Sequence

/*-------------------------------------------------------------------*/
  private void init()
  {
    ping = 0;
    currentTime = 0;
    clientSequence = new Sequence(0);
    serverSequence = new Sequence(0);
    lastReliableSequence = new Sequence(0);
  }

Examples of steal.Sequence

  }

  private void analyzeRepeat(Repeat repeat, int minMatches) {
    Expression stop = null;
    if (repeat.getParent() instanceof Sequence) {
      Sequence s = (Sequence) repeat.getParent();
      if (s.getCurrent() == repeat) {
        stop = s.getNext();
      }
    }
    while (!EOP() && !stop(stop, minMatches > 0)
        && analyze(repeat.getExpression())) {
      cursor++;

Examples of vavi.sound.mfi.Sequence

    /** �ǂݍ��ݗp */
    private VaviMfiFileFormat() {
        super(FILE_TYPE, -1);

        this.sequence = new Sequence();
    }

Examples of versusSNP.genome.Sequence

      BufferedReader br = new BufferedReader(new InputStreamReader(fis));
      while ((line = br.readLine())!=null) {
        if (line.length() != 0 && line.charAt(0)=='>') {
          if (name != null && !name.equals("")) {
            if (seq.length()!=0)
              sequences.add(new Sequence(name, seq.toString()));
          }
          name = line.substring(1);
          seq.delete(0, seq.length());
        }
        else {
          appendSequence(seq, line);
        }
      }
      //add the last sequence in the file
      if (name != null && !name.equals("")) {
        if (seq.length()!=0)
          sequences.add(new Sequence(name, seq.toString()));
      }
      if (sequences.size()==0) {
        JOptionPane.showMessageDialog(null, UICaption.dialog_error_fasta_contains_no_sequence, UICaption.dialog_caption_error, JOptionPane.ERROR_MESSAGE);
        return false;
      }

Examples of wyvern.tools.typedAST.core.Sequence

    res.setClassName(javaClassName);

    String pic = res.getParserInitCode();
    TypedAST parserInitAST;
    if (pic == null)
      parserInitAST = new Sequence();
    else
      parserInitAST = LangUtil.splice(new IParseBuffer(pic), "parser init");
    String defNamePIA = "initGEN" + methNum.get();
    toGenDefs.put(defNamePIA, parserInitAST);
    methNum.set(methNum.get()+1);
    res.setParserInitCode(String.format("Util.invokeValueVarargs(%s, \"%s\");\n", PAIRED_OBJECT_NAME, defNamePIA));

    String ppc = res.getPostParseCode();
    TypedAST postParseAST;
    if (ppc == null)
      postParseAST = new Sequence();
    else
      postParseAST = LangUtil.splice(new IParseBuffer(ppc), "post parse");
    String defNameP = "postGEN" + methNum.get();
    toGenDefs.put(defNameP, postParseAST);
    methNum.set(methNum.get() + 1);

Examples of xbird.xquery.dm.value.Sequence

            menu.add(new AbstractAction("Eval Expression (pull)") {
                public void actionPerformed(ActionEvent e) {
                    String selected = (String) cell.getUserObject();
                    XQExpression expr = sourceExprMap.get(selected);
                    DynamicContext dynEnv = new DynamicContext(statEnv);
                    final Sequence result;
                    try {
                        result = expr.eval(ValueSequence.EMPTY_SEQUENCE, dynEnv);
                    } catch (Exception ex) {
                        JOptionPane.showMessageDialog(frame, "eval failed!: " + ex.getMessage());
                        ex.printStackTrace();
                        return;
                    }
                    JOptionPane.showMessageDialog(frame, result.toString());
                }
            });
            menu.add(new AbstractAction("Print Tree") {
                public void actionPerformed(ActionEvent e) {
                    String selected = (String) cell.getUserObject();
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.