This commit is contained in:
2024-02-10 16:14:57 +01:00
parent 5d7694ce0f
commit 5a039bd152
23 changed files with 21 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
<properties maven-id="org.openjfx:javafx-base:20-ea+2" /> <properties maven-id="org.openjfx:javafx-base:20-ea+2" />
<CLASSES> <CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/20-ea+2/javafx-base-20-ea+2.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/20-ea+2/javafx-base-20-ea+2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/20-ea+2/javafx-base-20-ea+2-win.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/20-ea+2/javafx-base-20-ea+2-linux.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

View File

@@ -3,11 +3,11 @@
<properties maven-id="org.openjfx:javafx-controls:22-ea+16" /> <properties maven-id="org.openjfx:javafx-controls:22-ea+16" />
<CLASSES> <CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/22-ea+16/javafx-controls-22-ea+16.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/22-ea+16/javafx-controls-22-ea+16.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/22-ea+16/javafx-controls-22-ea+16-win.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-controls/22-ea+16/javafx-controls-22-ea+16-linux.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16-win.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16-linux.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16-win.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16-linux.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

View File

@@ -3,9 +3,9 @@
<properties maven-id="org.openjfx:javafx-graphics:22-ea+16" /> <properties maven-id="org.openjfx:javafx-graphics:22-ea+16" />
<CLASSES> <CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16-win.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-graphics/22-ea+16/javafx-graphics-22-ea+16-linux.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16-win.jar!/" /> <root url="jar://$MAVEN_REPOSITORY$/org/openjfx/javafx-base/22-ea+16/javafx-base-22-ea+16-linux.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

View File

@@ -10,5 +10,6 @@
<orderEntry type="library" name="openjfx.javafx.base" level="project" /> <orderEntry type="library" name="openjfx.javafx.base" level="project" />
<orderEntry type="library" name="openjfx.javafx.graphics" level="project" /> <orderEntry type="library" name="openjfx.javafx.graphics" level="project" />
<orderEntry type="library" name="openjfx.javafx.controls" level="project" /> <orderEntry type="library" name="openjfx.javafx.controls" level="project" />
<orderEntry type="library" name="scala-sdk-2.13.12" level="application" />
</component> </component>
</module> </module>

View File

@@ -0,0 +1,14 @@
package Klausur_ueb
object Lambda {
def main(args: Array[String]): Unit = {
val a = Array(1, 2, 3, 4, 5)
val summe = a.reduce((x: Int, y: Int) => x + y)
val summeKuerzer = a.reduce((x, y) => x + y)
val summeNochKuerzer = a.reduce(_ * _)
val summeGanzKurz = a.sum //vordefiniert
println(summeGanzKurz)
println(summeNochKuerzer)
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.