diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-04-06 22:06:07 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-04-06 22:06:07 -0400 |
| commit | dd04fa3a64f7f9ea03691821eaa22a870e7a0529 (patch) | |
| tree | 544d424f87c632c5ae0a64e61c9a87ee9d465934 /src/main/java/bjc/esodata/ThresholdSet.java | |
| parent | 4bb080869e6770f7d707cc53b72cabf7a6de8ea5 (diff) | |
Cleanup some warnings
Cleanup some warnings
Diffstat (limited to 'src/main/java/bjc/esodata/ThresholdSet.java')
| -rw-r--r-- | src/main/java/bjc/esodata/ThresholdSet.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/bjc/esodata/ThresholdSet.java b/src/main/java/bjc/esodata/ThresholdSet.java index cc7c0e1..6076a2a 100644 --- a/src/main/java/bjc/esodata/ThresholdSet.java +++ b/src/main/java/bjc/esodata/ThresholdSet.java @@ -2,8 +2,6 @@ package bjc.esodata; import java.util.*; -import bjc.data.*; - /** * Represents a counted set, that overflows to a map. * @@ -97,7 +95,7 @@ public class ThresholdSet<KeyType> { /** * Add multiple keys at once to the map. * - * @param key + * @param keys * The keys to add. * * @return An array containing the results of adding the keys. @@ -260,6 +258,7 @@ public class ThresholdSet<KeyType> { * @param keys * The initial keys to add to the threshold set. */ + @SafeVarargs public static <KType> ThresholdSet<KType> TS(KType... keys) { ThresholdSet<KType> ts = new ThresholdSet<>(); |
