Package com.yahoo.search.grouping.result
Class ValueGroupId<T>
java.lang.Object
com.yahoo.search.grouping.result.GroupId
com.yahoo.search.grouping.result.ValueGroupId<T>
This abstract class is used in
Group
instances where the identifying expression evaluated to a singe value.- Author:
- Simon Thoresen Hult
-
Constructor Summary
ConstructorDescriptionValueGroupId
(String type, T value) Constructs a new instance of this class.ValueGroupId
(String type, T value, String valueImage) Constructs a new instance of this class. -
Method Summary
Methods inherited from class com.yahoo.search.grouping.result.GroupId
getTypeName, toString
-
Constructor Details
-
ValueGroupId
Constructs a new instance of this class.- Parameters:
type
- the type of this id's valuevalue
- the identifying value
-
ValueGroupId
Constructs a new instance of this class.- Parameters:
type
- the type of this id's valuevalue
- the identifying valuevalueImage
- the String representation of thevalue
argument
-
-
Method Details
-
getValue
Returns the identifying value.
-