Package bit.connect

Class Cloud

java.lang.Object
bit.connect.Cloud

public class Cloud extends Object
Represents a cloud storage for student data.
  • Field Details

    • validMajors

      public static List<String> validMajors
      THIS HAS BEEN CHANGED.
    • validInterests

      public static List<String> validInterests
      List of valid interests.
    • users

      public static List<Student> users
      List of all student users.
    • activeUsers

      public static List<Student> activeUsers
      List of active student users.
  • Constructor Details

    • Cloud

      public Cloud()
  • Method Details

    • addStudent

      public static void addStudent(Student student)
      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

      public static String outputString()
      Generates a string representation of the student data in the cloud.
      Returns:
      a string representation of the student data