Adds a element to the TEXTS and LOOKUP.
512686
private static void addTranslation(String text, int type) {
        TEXTS.put(type, text);
        LOOKUP.put(text, type);
    }
340721
public void addElement(Element element) {
		synchronized(lock) {
			checkNotFrozen();
			element.setPage(this);
			// elements
			if(elements == null) elements = new ArrayList<>();
			elements.add(element);
			// elementsById
			addToElementsById(element, false);
		}
	}
855491
def append(self, text):
        
        cursor = QTextCursor(self._doc)
        cursor.movePosition(QTextCursor.End)
        cursor.insertBlock()
        cursor.insertText(text)
872243
public int add(String text)
    {
        int id = tfMap.size();
        add(id, text);
        return id;
    }
1105087
private void addNthChild() {
        for (Node node : nodes) {
            int count = 1;
            Node n = DOMHelper.getPreviousSiblingElement(node);
            while (n != null) {
                count++;
                n = DOMHelper.getPreviousSiblingElement(n);
            }
            
            if (specifier.isMatch(count)) {
                result.add(node);
            }
        }
    }
687325
def add_texts(self, reference_id, texts):
        
        self.add_words(reference_id, chain(*(self._tokenize(t) for t in texts)))
1215532
public synchronized void addElement(T element) {
    checkArgument(
        element.getNext() == null && element.getPrev() == null && element != head,
        "Element already in a list.");
    size++;
    if (head == null) {
      head = element;
    } else {
      head.setPrev(element);
      element.setNext(head);
      head = element;
    }
  }
164613
function add(scope, element) {
        updateDelayed();

        items.push({
            element: element,
            scope:   scope
        });
    }
1006534
def append_text(self, content):
        
        if content.node.hasText():
            content.text = content.node.getText()
956539
public TextMatchBinding addText(
                    final String text
                    )
    {
        if (text == null  ||  text.length() == 0) {
            throw new IllegalArgumentException( "no pattern specified" );
        }

        _text.add( text );

        return this;
    }
485617
public void addElements(
                    final Collection<? extends T> elements
                    )
    {
        if (elements == null  ||  elements.size() == 0) {
            return;
        }

        for (T  obj : elements) {
            addElement( obj );
        }
    }
853554
public function add($text, $value){
		$this->select[] = array($text, $value);
		$this->validator->addPossibility($value);
	}
258660
public static TextElement code(String text) {
		TextElement element = text(text);
		element.textStyles.add(TextStyle.CODE);
		return element;
	}
48019
private void addElement(String value) {
        if (null == value) {
            return;
        }
        this.num_items++;
        this.genericValues.add(value);
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "addElement: " + value + " num: " + this.num_items);
        }
    }
9738
def add_element(self, element, col, row, cols=1, rows=1):
        """"""

        # Update the number of rows and colums
        self.rows = max(self.rows, row+rows)
        self.cols = max(self.cols, col+cols)

        # Add the raw element record
        self.elements.append((col, row, cols, rows, element))
673368
public AnnotatedTextBuilder addText(String text) {
    parts.add(new TextPart(text, TextPart.Type.TEXT));
    return this;
  }
419194
public ElementWithOptions addOptionToGroup(Object value, String text, String groupId) {
        String valueString = "";
        if (value != null) {
            valueString = value.toString();
        }

        return addOptionToGroup(valueString, text, groupId);
    }