diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-12-03 19:24:23 -0500 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-12-03 19:24:23 -0500 |
| commit | 38f1e562bf1e1d9d2c837317fced7467f2e81adc (patch) | |
| tree | c26d3e0075f7bc027a491ab005f72d9907c51201 /dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java | |
| parent | 28895cad07c7aec1b324a2c75e5da5ce728cad91 (diff) | |
Rename interfaces to match Java style
Renames several interfaces named in the IWhatever style, which Java
doesn't use
Diffstat (limited to 'dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java')
| -rw-r--r-- | dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java b/dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java index 56fe0e5..e039e47 100644 --- a/dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java +++ b/dice/src/main/java/bjc/dicelang/neodice/diepool/TimesDiePool.java @@ -5,11 +5,11 @@ import java.util.stream.*; import bjc.dicelang.neodice.*; -public class TimesDiePool<SideType> implements IDiePool<SideType> { - private final IDie<SideType> contained; +public class TimesDiePool<SideType> implements DiePool<SideType> { + private final Die<SideType> contained; private final int numDice; - public TimesDiePool(IDie<SideType> contained, int numDice) { + public TimesDiePool(Die<SideType> contained, int numDice) { this.contained = contained; this.numDice = numDice; } @@ -21,8 +21,8 @@ public class TimesDiePool<SideType> implements IDiePool<SideType> { } @Override - public List<IDie<SideType>> contained() { - List<IDie<SideType>> results = new ArrayList<>(numDice); + public List<Die<SideType>> contained() { + List<Die<SideType>> results = new ArrayList<>(numDice); for (int index = 0; index < numDice; index++) { results.add(contained); |
