Testat 3b und experimentelle sichere Ausführung für Testat 3a
This commit is contained in:
@@ -2,12 +2,28 @@ import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Serializes a list of strings to a file and deserializes a list of strings
|
||||
* from a file.
|
||||
*/
|
||||
public class StringListSerializer {
|
||||
|
||||
/**
|
||||
* Writes a list of strings to a file.
|
||||
*
|
||||
* @param path the path to the file
|
||||
* @param list the list of strings to write
|
||||
*/
|
||||
public void write(Path path, List<String> list) {
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads a list of strings from a file.
|
||||
*
|
||||
* @param path the path to the file
|
||||
* @return the list of strings read from the file
|
||||
*/
|
||||
public List<String> read(Path path) {
|
||||
// TODO: implement
|
||||
return new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user