# Group by Value

Group a set of objects by value.
Copyright (c) 2008, 2010 SAP AG and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

# Motivation

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.

# Arguments

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.

# Result