Class GroupedSet<GroupingValueType,​GroupedKeyType,​WholeKeyType>

  • All Implemented Interfaces:
    java.lang.Iterable<WholeKeyType>, java.util.Collection<WholeKeyType>, java.util.Set<WholeKeyType>

    public class GroupedSet<GroupingValueType,​GroupedKeyType,​WholeKeyType>
    extends java.lang.Object
    implements java.util.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