id
stringlengths
36
36
text
stringlengths
1
1.25M
25865381-781a-4f73-a7af-80f6672a950a
public double getRushingAttempts() { return rushingAttempts; }
fbfcad64-8fba-4545-9f9e-b724c4f4c20e
public void setRushingAttempts(double rushingAttempts) { this.rushingAttempts = rushingAttempts; }
1ae3192c-2ab6-498b-b8fc-ee6c904da202
public double getRushingTouchdowns() { return rushingTouchdowns; }
496e8adc-2c05-4ccb-baf2-14c83cde5e8d
public void setRushingTouchdowns(double rushingTouchdowns) { this.rushingTouchdowns = rushingTouchdowns; }
8f9672cd-42ba-48fb-8d7f-ed45e8923b09
public double getRecievingYards() { return recievingYards; }
28477bff-6654-44a5-914b-58e5129b21f8
public void setRecievingYards(double recievingYards) { this.recievingYards = recievingYards; }
488a2d3c-52f3-4b4b-959e-80f6ab707063
public double getReceptions() { return receptions; }
35d0652c-63ad-4bde-be25-2f063fd82b4f
public void setReceptions(double receptions) { this.receptions = receptions; }
4fddfe7b-5eed-451d-bd7d-7490d32a9e9a
public double getRecievingTouchdown() { return recievingTouchdown; }
03f69f8e-991c-4002-a2a5-1d8b23dd8df7
public void setRecievingTouchdown(double recievingTouchdown) { this.recievingTouchdown = recievingTouchdown; }
991d8dbf-1eb7-46bf-8f1d-ee9280216996
public double getInterceptions() { return interceptions; }
9de6ecea-a84f-4c25-9025-e16255b7f6cf
public void setInterceptions(double interceptions) { this.interceptions = interceptions; }
b4d39672-014e-4736-9930-b17e264c38a7
public double getFumbles() { return fumbles; }
56c29834-f96b-46b9-ba6b-d85d3cb62611
public void setFumbles(double fumbles) { this.fumbles = fumbles; }
10432a58-661d-434e-8c9f-9413ff890c51
public Health getHealth() { return health; }
ccbc412d-cebb-41b7-8a80-478d5c75cbcc
public void setHealth(Health health) { this.health = health; }
9dc20660-76ea-4fce-a112-eb3f046aee4f
public Position getPosition() { return position; }
41e201cd-efd7-477f-9275-dd9d4d270744
public void setPosition(Position position) { this.position = position; }
894e8ac2-f61e-49b5-afc3-03f896cddff1
public String getTeam() { return team; }
97d8605c-7948-4814-b57a-2c89d256efe8
public void setTeam(String team) { this.team = team; }
c3a38891-0d10-4451-843e-7598cdb0e529
public FantasyPointsCalculator(LeagueConfiguration configuration) { this.configuration = configuration; }
9ab32530-d354-46d2-a3e9-c496241417f5
public double calculateProjectedPoints(Player player) { boolean fractional = configuration.isFractionalPoints(); double passingPoints = calculatePassingPoints(player.getPassingYards(), player.getPassingTouchdowns(), player.getInterceptions()); double rushingPoints = calculateRushingPoints(play...
8d71a86a-9e2b-4af4-9fea-32afd2d02c21
private double calculatePassingPoints(double yards, double touchdowns, double interceptions) { double points = yards * configuration.getPointsPerPassingYard() + touchdowns * configuration.getPointsPerPassingTouchdown() + interceptions * configuration.getPointsPerInterception(); return points; }
b1bde6b6-08b1-4413-89cd-3dcb67a51535
private double calculateRushingPoints(double yards, double rushingTouchdowns, double fumbles) { double points = yards * configuration.getPointsPerRushingYard() + rushingTouchdowns * configuration.getPointsPerRushingTouchdown() + fumbles * configuration.getPointsPerFumble(); return points; }
6757c708-cb77-4f59-939e-028b2d69d81e
private double calculateRecievingPoints(double yards, double receptions, double recievingTouchdowns) { double points = receptions * configuration.getPointsPerReception() + yards * configuration.getPointsPerRecievingYard() + recievingTouchdowns * configuration.getPointsPerRecievingTouchdown(); return p...
25ddacd8-6da5-4e56-be0d-b6374ddd73e1
private double calculateSpecialTeamsPoints(double conversions, double returnYards) { double points = conversions * configuration.getPointsPerConversion() + returnYards * configuration.getPointsPerReturnYard(); return points; }
8227a3ed-d252-4b31-a773-a575ed2dbc25
public LeagueConfiguration loadConfiguration(String fileName) throws IOException { LeagueConfiguration league = new LeagueConfiguration(); Properties prop = new Properties(); FileReader reader = new FileReader(fileName + ".properties"); prop.load(reader); league.setName(prop.g...
150ee9d7-7eb1-47f8-9152-e1e6e2efd207
public String getName() { return name; }
a78f534a-8f66-4d9b-8cb4-86920d18be82
public void setName(String name) { this.name = name; }
d26ae6b0-2db7-4005-8c2a-a4431e812ee1
public int getTeams() { return teams; }
e84b5aff-66cf-4815-a4f9-61d705ca484e
public void setTeams(int teams) { this.teams = teams; }
87d9cf81-59c3-4e57-a4b4-02078a9bd9d2
public DraftStyle getDraftStyle() { return draftStyle; }
a6d86e4c-d8cd-4398-92ad-aff3377740e0
public void setDraftStyle(DraftStyle draftStyle) { this.draftStyle = draftStyle; }
c385f95c-d003-4dc4-983a-f5ab655ea87c
public int getSkillLevel() { return skillLevel; }
e0ed1090-5ef6-40c0-b7bd-feb9e4591bfc
public void setSkillLevel(int skillLevel) { this.skillLevel = skillLevel; }
463e766d-b01e-401c-9721-07daf1110b55
public int getRosterSize() { return rosterSize; }
965d4dc2-fe14-4a3f-9b51-9618e85b3afc
public void setRosterSize(int rosterSize) { this.rosterSize = rosterSize; }
feeb87a1-5f06-4eaa-ba98-627760d0bc5b
public int getQbStart() { return qbStart; }
189e717b-5c06-4000-a176-63754f5e5353
public void setQbStart(int qbStart) { this.qbStart = qbStart; }
5b5d0278-42b8-4a83-ac1c-d5620ed24cce
public int getQbMax() { return qbMax; }
b94813f4-885f-4407-bebd-f172d21584c9
public void setQbMax(int qbMax) { this.qbMax = qbMax; }
e8e2ff86-c5dc-4421-9666-9a313be5b2c8
public int getQbValue() { return qbValue; }
df52a332-3ecf-4044-89fa-23db10c07555
public void setQbValue(int qbValue) { this.qbValue = qbValue; }
2fc3e42b-413b-4c23-8044-c78921597c59
public int getRbStart() { return rbStart; }
541db11f-0803-4d2b-99b6-d896f7232135
public void setRbStart(int rbStart) { this.rbStart = rbStart; }
0aca686b-2558-46a6-a17d-18047bc7ac29
public int getRbMax() { return rbMax; }
85f5ab8b-d617-4a35-a48e-c65adcb0e892
public void setRbMax(int rbMax) { this.rbMax = rbMax; }
09197e16-f9e8-4dff-a55a-1344748e8913
public int getRbValue() { return rbValue; }
d407d4e9-ecae-4db5-9be3-cfb2ebd53abc
public void setRbValue(int rbValue) { this.rbValue = rbValue; }
e7a02daa-44dc-4284-8879-959ad4a6be32
public int getWrStart() { return wrStart; }
ea481738-76d4-4fc9-907a-ca156d8e46b2
public void setWrStart(int wrStart) { this.wrStart = wrStart; }
11b43106-a088-43a3-a386-60804e35903b
public int getWrMax() { return wrMax; }
40646882-a0dc-48d6-a600-035d6d5e68da
public void setWrMax(int wrMax) { this.wrMax = wrMax; }
3972f8d7-d07e-486b-a4f4-12d389d41fb9
public int getWrValue() { return wrValue; }
ea50ee33-c92a-4fbf-b153-bc8a80cbcac4
public void setWrValue(int wrValue) { this.wrValue = wrValue; }
732f76d8-817f-4998-9337-cc14cf8b023e
public int getTeStart() { return teStart; }
3b2cb6f2-e907-4e62-b7e1-8590fcbce6aa
public void setTeStart(int teStart) { this.teStart = teStart; }
c865c9a2-694b-4846-ae4d-e59612f4635f
public int getTeMax() { return teMax; }
86014cb9-3b81-4d8e-9efb-8fd7a2638bdc
public void setTeMax(int teMax) { this.teMax = teMax; }
42ae6e4a-6ef7-484e-81b8-1b1b1dfc1201
public int getTeValue() { return teValue; }
84d98fab-0ecc-4c16-9b1c-4d27e37e3084
public void setTeValue(int teValue) { this.teValue = teValue; }
1fad96c1-6296-4629-a8b7-54ab38f5cc96
public int getDefStart() { return defStart; }
fe29ce76-3eb1-4535-83e9-0c12383dbb61
public void setDefStart(int defStart) { this.defStart = defStart; }
579f9384-2c17-4752-b8e0-0f3e0dca79b3
public int getDefMax() { return defMax; }
edda495c-eb05-4c12-93da-26a719454fd5
public void setDefMax(int defMax) { this.defMax = defMax; }
011ed9b0-77a3-4f8f-9519-87010d4b115d
public int getDefValue() { return defValue; }
74c773c1-101d-4589-bf30-2dc0dc28fdf2
public void setDefValue(int defValue) { this.defValue = defValue; }
f968a06e-59e1-4a89-b75f-cabcd73bca40
public int getkStart() { return kStart; }
9e43118f-a2b3-4310-ab6d-55ddd1e7bb41
public void setkStart(int kStart) { this.kStart = kStart; }
4ec16c84-1a17-4355-82b6-74002d98fc8f
public int getkMax() { return kMax; }
9105078a-6440-44d4-ac48-1cdb607c96e8
public void setkMax(int kMax) { this.kMax = kMax; }
5c5e45c9-dda1-4b63-b387-fc1c27db770d
public int getkValue() { return kValue; }
59da6c6b-58eb-40cf-b6b8-4b07f5d73e07
public void setkValue(int kValue) { this.kValue = kValue; }
92dcb260-7b90-41cd-b11d-0c5c6edeb031
public int getFlexStart() { return flexStart; }
d286cf67-6a29-4537-a01f-174efa390d8b
public void setFlexStart(int flexStart) { this.flexStart = flexStart; }
83e2028b-092f-450c-ae60-2a02539302b9
public boolean isQbFlex() { return qbFlex; }
c5602857-6e30-4501-842d-b97eb7539fba
public void setQbFlex(boolean qbFlex) { this.qbFlex = qbFlex; }
bb5c9a47-ae5a-41c4-9621-0f719c37e9d3
public boolean isRbFlex() { return rbFlex; }
9fbb5f95-9f89-4605-aff9-35713f1790f9
public void setRbFlex(boolean rbFlex) { this.rbFlex = rbFlex; }
f759cfb2-d5a9-406f-be61-7fdbaa8f55e3
public boolean isWrFlex() { return wrFlex; }
957d5e40-792e-4271-8661-21d9d2e68aab
public void setWrFlex(boolean wrFlex) { this.wrFlex = wrFlex; }
8ae66b25-5180-43ab-a38f-819d6893dfa1
public boolean isTeFlex() { return teFlex; }
8956f4f0-0191-45d5-83e0-f1585862d878
public void setTeFlex(boolean teFlex) { this.teFlex = teFlex; }
81959e83-d9a5-4f69-ad68-f2b2624be8bf
public boolean isFractionalPoints() { return fractionalPoints; }
c2b8e991-4179-4e8d-af9a-4a4a24c12d79
public void setFractionalPoints(boolean fractionalPoints) { this.fractionalPoints = fractionalPoints; }
783b88e1-18ed-4608-92a6-2d60170eb23a
public double getPointsPerPassingYard() { return pointsPerPassingYard; }
e303b7c0-d3e5-4d1f-af84-509449028bff
public void setPointsPerPassingYard(double pointsPerPassingYard) { this.pointsPerPassingYard = pointsPerPassingYard; }
a5a7ceda-0a90-4e84-9e46-9e53ac9e99a7
public double getPointsPerPassingTouchdown() { return pointsPerPassingTouchdown; }
6e1930c2-4fcc-4353-b9a9-07c284ea2fbb
public void setPointsPerPassingTouchdown(double pointsPerPassingTouchdown) { this.pointsPerPassingTouchdown = pointsPerPassingTouchdown; }
32a7f861-90f9-4df5-a35c-3eb05a66de86
public double getPointsPerInterception() { return pointsPerInterception; }
b7f5e1ea-a859-4afc-9a48-decdd4b625fa
public void setPointsPerInterception(double pointsPerInterception) { this.pointsPerInterception = pointsPerInterception; }
f24bc00b-e249-48c5-b35e-925377bf0f27
public double getPointsPerRushingYard() { return pointsPerRushingYard; }
56679561-3ce5-4277-be28-2137a21824a8
public void setPointsPerRushingYard(double pointsPerRushingYard) { this.pointsPerRushingYard = pointsPerRushingYard; }
a3fa8e70-26f7-4398-a124-2884c05b64bf
public double getPointsPerRushingTouchdown() { return pointsPerRushingTouchdown; }
f601e4f1-3fc1-4088-80be-08f56ec948f9
public void setPointsPerRushingTouchdown(double pointsPerRushingTouchdown) { this.pointsPerRushingTouchdown = pointsPerRushingTouchdown; }
8439029c-d704-4bd4-9f55-1549c6cfdeaa
public double getPointsPerFumble() { return pointsPerFumble; }
087f2922-b176-40b0-b1e9-9e6988658e32
public void setPointsPerFumble(double pointsPerFumble) { this.pointsPerFumble = pointsPerFumble; }
4a61aec2-2027-4269-ac7d-3ff975fa27e9
public double getPointsPerReception() { return pointsPerReception; }
7b5b5fc7-3e33-4d06-90bd-f5ace0401877
public void setPointsPerReception(double pointsPerReception) { this.pointsPerReception = pointsPerReception; }
06681d1c-6d54-4b31-83b4-07c90dac6a41
public double getPointsPerConversion() { return pointsPerConversion; }