Package bit.connect
Class Cloud
java.lang.Object
bit.connect.Cloud
Represents a cloud storage for student data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionList of active student users.List of all student users.List of valid interests.THIS HAS BEEN CHANGED. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addStudent
(Student student) Adds a student to the list of users.static String
Generates a string representation of the student data in the cloud.static void
refresh()
Refreshes the list of active users based on their search mode status.
-
Field Details
-
validMajors
THIS HAS BEEN CHANGED. -
validInterests
List of valid interests. -
users
List of all student users. -
activeUsers
List of active student users.
-
-
Constructor Details
-
Cloud
public Cloud()
-
-
Method Details
-
addStudent
Adds a student to the list of users.- Parameters:
student
- the student to be added
-
refresh
public static void refresh()Refreshes the list of active users based on their search mode status. -
outputString
Generates a string representation of the student data in the cloud.- Returns:
- a string representation of the student data
-