Markou moment

This commit is contained in:
2024-02-16 17:19:54 -06:00
parent 80bfa39936
commit b96b2eeb8c
74 changed files with 5618 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.slcc.asdv.caleb</groupId>
<artifactId>MaxTask</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>20</maven.compiler.source>
<maven.compiler.target>20</maven.compiler.target>
<exec.mainClass>edu.slcc.asdv.caleb.maxtask.MaxTask</exec.mainClass>
</properties>
</project>

View File

@@ -0,0 +1,23 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
*/
package edu.slcc.asdv.caleb.maxtask;
import java.util.concurrent.RecursiveTask;
/**
*
* @author caleb
*/
public class MaxTask {
public static void main(String[] args) {
}
public static int max(int[] list) {
RecursiveTask<Integer> task = new MaxTask(list 0, list.length) {
}
}
}