Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addBefore (0.06 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            }
        }
    
        public static void addBefore(Node sibling, Closure cl) {
            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
            cl.call()
            def parent = sibling.parentNode
            builder.elements.each { element ->
                parent.insertBefore(element, sibling)
            }
        }
    
        public static void addBefore(Element sibling, Node n) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/SLinkedList.java

         *            追加するオブジェクト
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * 最後に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addLast(final E element) {
            header.addBefore(element);
        }
    
        /**
         * 指定した位置にオブジェクトを追加します。
         *
         * @param index
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top