Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/JAVA/Openjdk/test/langtools/tools/javac/lambda/   (Sun/Oracle ©)  Datei vom 13.11.2022 mit Größe 628 B image not shown  

Quelle  LambdaConv28.java

  Sprache: JAVA
 

/*
 * @test /nodynamiccopyright/
 * @bug 8181911
 * @summary Verify that the analyzer does not affect ordinary compilation.
 * @compile/ref=LambdaConv28.out -XDrawDiagnostics -XDfind=lambda LambdaConv28.java
 */


class LambdaConv28 {

    public void test(A a) {
        test(()-> {
            return new I() {
                public <T> void t() {
                }
            };
        });
        test(new A() {
            public I get() {
                return null;
            }
        });
    }

    public interface I {
        public <T> void t();
    }

    public interface A {
        public I get();
    }

}

Messung V0.5 in Prozent
C=95 H=100 G=97

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-05) ¤

*© 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.