Class GroupedSet<GroupingValueType,GroupedKeyType,WholeKeyType>

java.lang.Object
tools.refinery.interpreter.rete.aggregation.GroupedSet<GroupingValueType,GroupedKeyType,WholeKeyType>
All Implemented Interfaces:
Iterable<WholeKeyType>, Collection<WholeKeyType>, Set<WholeKeyType>

public class GroupedSet<GroupingValueType,GroupedKeyType,WholeKeyType> extends Object implements Set<WholeKeyType>
An optimized Set implementation where each contained value is produced by combining together a grouping value and some other (key) object. The way of combining together these two values is specified by the closure passed to the constructor. Only a select few Set operations are supported. This collection is unmodifiable.
Since:
2.4