Uses of Class
edu.ntnu.idatt1002.k2g05.models.RoundCollection
Packages that use RoundCollection
-
Uses of RoundCollection in edu.ntnu.idatt1002.k2g05.factories
Methods in edu.ntnu.idatt1002.k2g05.factories that return RoundCollectionModifier and TypeMethodDescriptionstatic RoundCollection
RoundCollectionFactory.getAndFillQualificationRoundCollection
(String name, List<Player> players) Method for getting and filling a qualification round collection given a nam eof the round collection and the players that is going to play in the qualificatiostatic RoundCollection
RoundCollectionFactory.getEmptyFinalCollection
(String name) Method for creating an empty final collectionstatic RoundCollection
RoundCollectionFactory.getEmptyGroupStageCollection
(String name, int groups) static RoundCollection
RoundCollectionFactory.getEmptyQualificationCollection
(String name) Method for getting an empty qualification collectionstatic RoundCollection
RoundCollectionFactory.getEmptyQuarterFinalCollection
(String name) Method for creating an empty quarter final collection given the namstatic RoundCollection
RoundCollectionFactory.getEmptySemiFinalCollection
(String name) Method for getting an empty semi-finalMethods in edu.ntnu.idatt1002.k2g05.factories with parameters of type RoundCollectionModifier and TypeMethodDescriptionstatic void
RoundCollectionFactory.fillFinalFromGroupPlay
(RoundCollection finalCollection, RoundCollection groupPlayCollection) Method for filling a final collection from a group play collection.static void
RoundCollectionFactory.fillFinalFromPreviousFinal
(RoundCollection finalCollection, RoundCollection previousFinalCollection) Method for filling the next final given the previous final, e.g.static void
RoundCollectionFactory.fillQualificationCollection
(RoundCollection collection, List<Player> players) Method for filling a given qualification collection with playersstatic void
RoundCollectionFactory.updateGroupStageCollectionWithSnakeFill
(RoundCollection collection, List<Player> players, int playersPerRound) Method for filling in a group stage collection with snake fill given the players that are going to be filled in the collection Snake fill looks like with 16 players with 4 per round this: (where number is position after qualification) |A |B |C |D | |1 |2 |3 |4 | |8 |7 |6 |5 | |9 |10|11|12| |16|15|14|13| -
Uses of RoundCollection in edu.ntnu.idatt1002.k2g05.models
Methods in edu.ntnu.idatt1002.k2g05.models that return RoundCollectionModifier and TypeMethodDescriptionTournament.getRoundCollections
(int index) Get a specific roundCollection given its insertion order (index) in the tournament.Tournament.removeRoundCollection
(int index) Removes the roundCollection at the specified position in this list (optional operation).Methods in edu.ntnu.idatt1002.k2g05.models that return types with arguments of type RoundCollectionModifier and TypeMethodDescriptionTournament.getAllRoundCollections()
Gets all the RoundCollections in the tournamentTournament.getRoundCollections
(RoundType type) Returns anOptional
describing the first roundCollection match of the given type, or an emptyOptional
if it does not contain any roundCollection with this type.Methods in edu.ntnu.idatt1002.k2g05.models with parameters of type RoundCollectionModifier and TypeMethodDescriptionboolean
Tournament.addRoundCollections
(RoundCollection roundCollection) Appends the specified roundCollection to the end of the tournament's roundCollections list.boolean
Tournament.removeRoundCollection
(RoundCollection roundCollection) Removes the first occurrence of a roundCollection from this list, if it is present.