summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/esodata/ThresholdSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/bjc/esodata/ThresholdSet.java')
-rw-r--r--src/main/java/bjc/esodata/ThresholdSet.java5
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<>();