Logo Search packages:      
Sourcecode: jeuclid version File versions

int net::sourceforge::jeuclid::elements::AbstractJEuclidElement::getIndexOfMathElement ( final JEuclidElement  element  )  [inline, inherited]

Gets index of child element.

element Child element.
Index of the element, -1 if element was not found

Implements net::sourceforge::jeuclid::elements::JEuclidElement.

Definition at line 354 of file AbstractJEuclidElement.java.

Referenced by net::sourceforge::jeuclid::elements::presentation::table::Mtd::getCellindex().

        final org.w3c.dom.NodeList childList = this.getChildNodes();
        for (int i = 0; i < childList.getLength(); i++) {
            if (childList.item(i).equals(element)) {
                return i;
        return -1;

Generated by  Doxygen 1.6.0   Back to index