Uses of Record Class
edu.ucsb.cs156.frontiers.models.NameAndTeam
Packages that use NameAndTeam
-
Uses of NameAndTeam in edu.ucsb.cs156.frontiers.services
Methods in edu.ucsb.cs156.frontiers.services that return types with arguments of type NameAndTeamModifier and TypeMethodDescriptionTeamCsvService.groupByTeam(List<NameAndTeam> entries) Groups the entries by team, one list per team, with the teams in case-insensitive alphabetical order by name and the entries within each team in their original order.TeamCsvService.nameAndTeams(List<RosterStudent> students) Computes the abbreviated name and team for each student, preserving the order of the input list.Method parameters in edu.ucsb.cs156.frontiers.services with type arguments of type NameAndTeamModifier and TypeMethodDescriptionTeamCsvService.groupByTeam(List<NameAndTeam> entries) Groups the entries by team, one list per team, with the teams in case-insensitive alphabetical order by name and the entries within each team in their original order.voidTeamCsvService.writeName2TeamCsv(Writer writer, List<NameAndTeam> entries, int columns) Writes the "Name,Team" table: the entries balanced across the given number of column pairs, filling column by column.voidTeamCsvService.writeNameAndTeamTablesCsv(Writer writer, List<NameAndTeam> entries) Writes the "Name,Team" table under "by name", then the "Team,Name" table under "by team" line.voidTeamCsvService.writeTeamTableCsv(Writer writer, List<NameAndTeam> entries, int columns) Writes the "Team,Name" table: the teams (seeTeamCsvService.groupByTeam(List)) balanced across the given number of column pairs, filling column by column, with one row per student.