System.java_skeleton_user_methods

classes_skeleton
Selim Eser 2024-06-06 11:22:54 +02:00
parent e1ba574538
commit 404c3e29d6
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package de.hs_mannheim.domain;
import java.util.HashSet;
public class System {
private User current_user;
public HashSet<User> get_all_user(){
return new HashSet<User>();
}
public boolean sign_in_user(String username, String password){
return true;
}
public boolean sign_up_user(String username, String password, String hometown, int zip,
String car_name, double car_co2_km, double car_avg_kmh, double bike_avg_kmh){
return true;
}
public void sign_out_user(){}
public boolean change_user_details(String username, String password, String hometown, int zip,
String car_name, double car_co2_km, double car_avg_kmh, double bike_avg_kmh){
return true;
}
}