Method to add a new {@link GLLSentence}.

@param gll the sentence to add.
321513
public void addGLL( GLLSentence gll ) {
        try {
            if (gll.isValid())
                position = gll.getPosition();
        } catch (Exception e) {
            // ignore it, this should be handled in the isValid,
            // if an exception is thrown, we can't deal with it here.
        }
    }
36145
public final void add(
      final GeneratedMessageLite.GeneratedExtension<?, ?> extension) {
    extensionsByNumber.put(
      new ObjectIntPair(extension.getContainingTypeDefaultInstance(),
                        extension.getNumber()),
      extension);
  }
258254
public void addSoftClause(int weight, final LNGIntVector lits) {
    final LNGIntVector rVars = new LNGIntVector();
    this.softClauses.push(new MSSoftClause(lits, weight, LIT_UNDEF, rVars));
    this.nbSoft++;
  }
141185
public void add(String str) {
	curr.next = new Entry(str, Entry.NUL);
	curr = curr.next;
	count++;
    }
420203
public void setSentEnd() {
    if (!isSentenceEnd()) {
      AnalyzedToken sentenceEnd = new AnalyzedToken(getToken(),
          SENTENCE_END_TAGNAME, getAnalyzedToken(0).getLemma());
      addReading(sentenceEnd);
    }
  }
777076
public void addStateListener(StateListener l) {
        if (mListeners == null) {
            mListeners = new ArrayList<StateListener>();
        }
        if (!mListeners.contains(l)) {
            mListeners.add(l);
        }
    }
586712
public void add(T newValue) {
		if (this.isSet) {
			if (!this.isMultiple
					&& newValue != this.object && (newValue == null || !newValue.equals(this.object))) {
				this.isMultiple = true;
				this.object = null;
			}
		} else {
			this.object = newValue;
			this.isSet = true;
			this.isMultiple = false;
		}
	}
542875
void addTernaryClause(final MiniSatStyleSolver s, int a, int b, int c) {
    this.addTernaryClause(s, a, b, c, LIT_UNDEF);
  }
23146
private void addEvents(String sentence) {
    String[] parts = sentence.split(" ");
    String outcome = NameFinderME.OTHER;
    List toks = new ArrayList();
    List outcomes = new ArrayList();
    for (int pi = 0, pl = parts.length; pi < pl; pi++) {
      if (parts[pi].equals("<START>")) {
        outcome = NameFinderME.START;
      }
      else if (parts[pi].equals("<END>")) {
        outcome = NameFinderME.OTHER;
      }
      else { //regular token
        toks.add(parts[pi]);
        outcomes.add(outcome);
        if (outcome.equals(NameFinderME.START)) {
          outcome = NameFinderME.CONTINUE;
        }
      }
    }
    events = new Event[toks.size()];
    for (int ti = 0, tl = toks.size(); ti < tl; ti++) {
      events[ti] = new Event((String) outcomes.get(ti), cg.getContext(ti, toks, outcomes, prevTags));
    }
    for (int ti=0,tl=toks.size();ti<tl;ti++) {
      prevTags.put(toks.get(ti),outcomes.get(ti));
    }
  }
595059
public void addGGA( GGASentence gga ) {
        try {
            if (gga.isValid()) {
                gpsFixQuality = gga.getFixQuality();
                position = gga.getPosition();
                altitude = gga.getAltitude();
                if (time == null) {
                    time = gga.getTime();
                }
            }
        } catch (Exception e) {
            // ignore it, this should be handled in the isValid,
            // if an exception is thrown, we can't deal with it here.
        }
    }
645374
private final void add(ThreadGroup g){
        synchronized (this) {
            if (destroyed) {
                throw new IllegalThreadStateException();
            }
            if (groups == null) {
                groups = new ThreadGroup[4];
            } else if (ngroups == groups.length) {
                groups = Arrays.copyOf(groups, ngroups * 2);
            }
            groups[ngroups] = g;

            // This is done last so it doesn't matter in case the
            // thread is killed
            ngroups++;
        }
    }
1345996
@Nonnull
    public BugInstance addUnknownSourceLine(String className, String sourceFile) {
        SourceLineAnnotation sourceLineAnnotation = SourceLineAnnotation.createUnknown(className, sourceFile);
        if (sourceLineAnnotation != null) {
            add(sourceLineAnnotation);
        }
        return this;
    }
112776
public boolean addClause(int lit, final Proposition proposition) {
    final LNGIntVector unit = new LNGIntVector(1);
    unit.push(lit);
    return this.addClause(unit, proposition);
  }
328498
public void addOption(String value, String text) {

        String title = getTitle(value, text);
        CmsLabelSelectCell cell = new CmsLabelSelectCell(value, text, title);
        addOption(cell);
    }
274333
public void addCell(TableCellBox cell)
    {
        if (cells == null) 
            organizeContent();
        cells.add(cell);
        cell.setOwnerRow(this);
    }
596097
public boolean add(Object o) {
        if (o instanceof GroupCmdReply == false) {
            return true;
        }
        GroupCmdReply gcr = (GroupCmdReply)o;
        if (gcr.has_failed) {
            has_failed = true;
        }
        return super.add(o);
    }
127394
public final void addBracket(SgroupBracket bracket) {
        List<SgroupBracket> brackets = getValue(SgroupKey.CtabBracket);
        if (brackets == null) {
            putValue(SgroupKey.CtabBracket,
                     brackets = new ArrayList<>(2));
        }
        brackets.add(bracket);
    }