summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/grouping/result/DoubleId.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/grouping/result/DoubleId.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/grouping/result/DoubleId.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/grouping/result/DoubleId.java b/container-search/src/main/java/com/yahoo/search/grouping/result/DoubleId.java
new file mode 100644
index 00000000000..c6f0b15feb2
--- /dev/null
+++ b/container-search/src/main/java/com/yahoo/search/grouping/result/DoubleId.java
@@ -0,0 +1,19 @@
+// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.search.grouping.result;
+
+/**
+ * This class is used in {@link Group} instances where the identifying expression evaluated to a {@link Double}.
+ *
+ * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
+ */
+public class DoubleId extends ValueGroupId<Double> {
+
+ /**
+ * Constructs a new instance of this class.
+ *
+ * @param value The identifying double.
+ */
+ public DoubleId(Double value) {
+ super("double", value);
+ }
+}