Aufgabenstellung update ohne eclipse
parent
3b8d673a6f
commit
f95e386608
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
||||||
|
|
@ -1,62 +0,0 @@
|
||||||
# ---> Eclipse
|
|
||||||
.metadata
|
|
||||||
bin/
|
|
||||||
tmp/
|
|
||||||
*.tmp
|
|
||||||
*.bak
|
|
||||||
*.swp
|
|
||||||
*~.nib
|
|
||||||
local.properties
|
|
||||||
.settings/
|
|
||||||
.loadpath
|
|
||||||
.recommenders
|
|
||||||
|
|
||||||
# External tool builders
|
|
||||||
.externalToolBuilders/
|
|
||||||
|
|
||||||
# Locally stored "Eclipse launch configurations"
|
|
||||||
*.launch
|
|
||||||
|
|
||||||
# PyDev specific (Python IDE for Eclipse)
|
|
||||||
*.pydevproject
|
|
||||||
|
|
||||||
# CDT-specific (C/C++ Development Tooling)
|
|
||||||
.cproject
|
|
||||||
|
|
||||||
# CDT- autotools
|
|
||||||
.autotools
|
|
||||||
|
|
||||||
# Java annotation processor (APT)
|
|
||||||
.factorypath
|
|
||||||
|
|
||||||
# PDT-specific (PHP Development Tools)
|
|
||||||
.buildpath
|
|
||||||
|
|
||||||
# sbteclipse plugin
|
|
||||||
.target
|
|
||||||
|
|
||||||
# Tern plugin
|
|
||||||
.tern-project
|
|
||||||
|
|
||||||
# TeXlipse plugin
|
|
||||||
.texlipse
|
|
||||||
|
|
||||||
# STS (Spring Tool Suite)
|
|
||||||
.springBeans
|
|
||||||
|
|
||||||
# Code Recommenders
|
|
||||||
.recommenders/
|
|
||||||
|
|
||||||
# Annotation Processing
|
|
||||||
.apt_generated/
|
|
||||||
.apt_generated_test/
|
|
||||||
|
|
||||||
# Scala IDE specific (Scala & Java development for Eclipse)
|
|
||||||
.cache-main
|
|
||||||
.scala_dependencies
|
|
||||||
.worksheet
|
|
||||||
|
|
||||||
# Uncomment this line if you wish to ignore the project description file.
|
|
||||||
# Typically, this file would be tracked if it contains build/dependency configurations:
|
|
||||||
#.project
|
|
||||||
|
|
||||||
17
.project
17
.project
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>MeineArrayList</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
# PR1_Aufgabensammlung_Erstelle_Arraylist
|
# PR1_Aufgabensammlung_Erstelle_Arraylist
|
||||||
In diesem Repo finden Sie die Aufgabenstellung mit Tests.
|
|
||||||
Sie müssen lediglich die Klasse MeineArrayList fertig implementieren.
|
|
||||||
Mit Hilfe der Tests wissen Sie, ob die Aufgabe korrekt ist.
|
|
||||||
|
|
||||||
# Aufgabe
|
# Aufgabe
|
||||||
Implementieren Sie die Klasse MeineArrayList so, dass sie die Grundlegenden Funktionen einer ArrayList<String> hat ohne ArrayList<> in der Klasse zu verwenden.
|
Implementieren Sie die Klasse MeineArrayList so, dass sie die Grundlegenden Funktionen einer ArrayList<String> hat ohne ArrayList<> in der Klasse zu verwenden.
|
||||||
|
|
|
||||||
|
|
@ -1,72 +0,0 @@
|
||||||
package de.hs_mannheim.MeineArrayList;
|
|
||||||
|
|
||||||
public class MeineArrayList {
|
|
||||||
//Todo: Implementieren
|
|
||||||
|
|
||||||
public MeineArrayList() {
|
|
||||||
//Todo: Implementieren
|
|
||||||
}
|
|
||||||
|
|
||||||
public void add(String n){
|
|
||||||
//Todo: Implementieren
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean add(int index, String n){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void addAll(MeineArrayList liste){
|
|
||||||
//Todo: Implementieren
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean addAll(int index, MeineArrayList liste){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void clear(){
|
|
||||||
//Todo: Implementieren
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean contains(String s){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String get(int index){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
public int indexOf(String s){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean isEmpty(){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String remove(int index){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean set(int index, String s){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int size(){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String[] toArray(){
|
|
||||||
//Todo: Implementieren
|
|
||||||
return new String[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
package de.hs_mannheim.MeineArrayList;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
|
|
||||||
class MeineArrayList_Test {
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void addGetTests() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue