Group a set of objects by value.
Sometimes it is easier to understand the uses of instances of a class if the instances are grouped into sets where each object in the set has the same printable value as the others.
Argument | Description |
---|---|
objects | An arbitrary set of objects to arrange in sets by value. |
-field | An optional dot notation to specify a field which is used to group the objects, e.g. modCount to group HashMaps by their modifications. |