Uses of Class
edu.ucsb.cs156.happiercows.entities.Commons
Packages that use Commons
Package
Description
- 
Uses of Commons in edu.ucsb.cs156.happiercows.controllers
Methods in edu.ucsb.cs156.happiercows.controllers that return CommonsMethods in edu.ucsb.cs156.happiercows.controllers with parameters of type Commons - 
Uses of Commons in edu.ucsb.cs156.happiercows.entities
Methods in edu.ucsb.cs156.happiercows.entities with parameters of type CommonsModifier and TypeMethodDescriptionstatic intCommons.computeEffectiveCapacity(Commons commons, CommonsRepository commonsRepository) Constructors in edu.ucsb.cs156.happiercows.entities with parameters of type Commons - 
Uses of Commons in edu.ucsb.cs156.happiercows.jobs
Methods in edu.ucsb.cs156.happiercows.jobs with parameters of type CommonsModifier and TypeMethodDescriptionstatic doubleMilkTheCowsJob.calculateMilkingProfit(Commons commons, UserCommons userCommons) Calculate the profit for a user from milking their cows.static doubleUpdateCowHealthJob.calculateNewCowHealthUsingStrategy(CowHealthUpdateStrategy strategy, Commons commons, UserCommons userCommons, int totalCows, CommonsRepository commonsRepository) voidMilkTheCowsJob.milkCows(JobContext ctx, Commons commons, UserCommons userCommons) This method performs the function of milking the cows for a single userCommons. - 
Uses of Commons in edu.ucsb.cs156.happiercows.strategies
Methods in edu.ucsb.cs156.happiercows.strategies with parameters of type CommonsModifier and TypeMethodDescriptiondoubleCowHealthUpdateStrategy.calculateNewCowHealth(Commons commons, UserCommons user, int totalCows, CommonsRepository commonsRepository)