diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-07-02 18:25:30 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-07-02 18:25:30 -0400 |
| commit | 3a56e3ee3f2f6069de5cf8d2bee81052bbf346e6 (patch) | |
| tree | 4153bee8de0d11c715c51f700beb428c45a7f765 /src/main/java/bjc/esodata/ThresholdSet.java | |
| parent | 843329de434bb334d90927c4d22345373a388530 (diff) | |
Clean up comments
Diffstat (limited to 'src/main/java/bjc/esodata/ThresholdSet.java')
| -rw-r--r-- | src/main/java/bjc/esodata/ThresholdSet.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/bjc/esodata/ThresholdSet.java b/src/main/java/bjc/esodata/ThresholdSet.java index b6f677e..20b4ceb 100644 --- a/src/main/java/bjc/esodata/ThresholdSet.java +++ b/src/main/java/bjc/esodata/ThresholdSet.java @@ -16,7 +16,7 @@ import java.util.*; * The iterator that this type gives by default is an iterator over all of the values in the set, * not including any of those in the map. * - * @param KeyType The value being counted. + * @param <KeyType> The value being counted. * * @author Ben Culkin */ @@ -71,7 +71,9 @@ public class ThresholdSet<KeyType> { } } + // Set of uniquely stored keys private Set<KeyType> keySet; + // @TODO :CountMap Ben Culkin 6/19/2019 // Replace this with a CountSet or some equivalent concept, whenever that gets written private Map<KeyType, Integer> keyMap; @@ -189,7 +191,7 @@ public class ThresholdSet<KeyType> { /** * Get the number of times the set contains a set of given keys. * - * @param key + * @param keys * The keys to look for. * * @return The containment counts for each key. @@ -228,6 +230,8 @@ public class ThresholdSet<KeyType> { return new SetView(); } + // Implementation methods for setView + int setSize() { return keySet.size(); } |
