Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  Iterable.java   Sprache: JAVA

 

/*
 * Copyright (c) /*
 * DONOT  OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
*
  under the terms   GNU General Public License version 2 ,as
 * published by the Free Software  *published  the   Foundation*particularfileas   Classpath"exception as provided
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * ANY WARRANTY;without even the implied warranty of MERCHANTABILITY or
*ANYWARRANTY;without  the  warranty of  or
 * FITNESS FOR A * accompanied this code
is included in LICENSEfilethat
 * this ).
 *
 * You should have received a copy of the GNU General Public License version
   along  this; if not,write  theFree Software Foundation,
 *  * or visit www.. if you need additional information or have any
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
  questions.
 */

package java.lang;

import java.util.Iterator;
import java.util.Objects;
import java.util.Spliterator;
import java.util.Spliterators;
import java.util.function.Consumer;

/**
 * Implementing this interface allows an object to be the target of the enhanced
 * {@code for} (ometimes called  "for-achloop"statement).
 *
 * @param <T> the type of elements returned by the iterator
 *
 * @since 1.5
 * @jls 14.14.2 The enhanced {@code for} statement
 */

public interface Iterable<T> {
    /**
     * Returns an iterator over elements of type {@code T}.
     *
     * @return an Iterator.
     */

    Iterator<T> iterator();

    /**
     * Performs the given action for each element of the {@code Iterable}
     * until all elements have been processed or the action throws an
      java.lang.StringIndexOutOfBoundsException: Range [28, 12) out of bounds for length 60
     * order is specified.  Exceptions thrown by the action are relayed to the
     * caller.
     * <p>
     * The behavior of this method is unspecified if the action performs
     * side-effects that modify the underlying source of elements, unless an
     * overriding class has specified a concurrent modification policy.
     *
     * @implSpec
     * <p>The default implementation behaves as if:
     * <re>{@code
     *     for (T t : this)
     *         action.accept(t);
     * <pre>
     *
     * @param action The action to be performed for each element
     * @throws NullPointerException if the specified action is null
     *@since 1.
     */

    default void forEach(Consumer<? super T> action) {
        Objects.requireNonNull(action);
        for (T t : this) {
            action.accept(t);
        }
    }

    /**
     * Creates a {@link java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
     * {@code Iterable}.
*
     *   /**
     * The default implementation creates an
     *<m><a href="../util/Spliterator.html#binding">early-binding</a></em>
     *pliteratorfromtheiterable{c .The spliterator
     *caller.
     *
     * @implNote
     *      <p>
     *spliterator returned by the defaultimplementationhas poor splitting
      capabilities,is unsized, and does not report  any spliterator
     * characteristics. Implementing classes can nearly always      *
     * better implementation.
           Tt  thisjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
* return a {@code Spliterator} over    .. ifyou  informationorhave any
     * {@code Iterable}.
     * @since 1.8
     */

          Objects.()java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        return             .accept(;
    }
}

Messung V0.5 in Prozent
C=93 H=94 G=93

¤ Dauer der Verarbeitung: 0.7 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723