concept group in category software development

This is an excerpt from Manning's book Seriously Good Software: Code that works, survives, and wins.
Listing 1.1. Novice: Fields and constructor
public class Container { Container[] g; #1 The group of connected containers int n; #2 The actual size of the group double x; #3 The water amount in this container public Container() { g = new Container[1000]; #4 Look: a magic number! g[0] = this; #5 Puts this container in its group n = 1; x = 0; } !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":2,\"ch\":19},{\"line\":2,\"ch\":21}],[{\"line\":3,\"ch\":19},{\"line\":3,\"ch\":21}],[{\"line\":4,\"ch\":19},{\"line\":4,\"ch\":21}],[{\"line\":7,\"ch\":32},{\"line\":7,\"ch\":34}],[{\"line\":8,\"ch\":32},{\"line\":8,\"ch\":34}]]"} !@%STYLE%@!
public void addWater(double amount)—Pour amount units of water into this container. This method automatically and equally distributes water among all containers that are connected, directly or indirectly, to this one. You can also use this method with a negative amount to remove water from this container. In that case, the group of connected containers should be holding enough water to satisfy the request—you wouldn’t want to leave a negative amount of water in a container.
In Reference, the problem with addWater is that it needs to visit all containers that are connected to the current one and update their water amount. This is a waste, especially because all connected containers share the same amount. To prevent this waste, you move the amount field from the Container class to a new Group class. All containers belonging to the same group will point to the same Group object, containing the amount of water present in each of those containers.

This is an excerpt from Manning's book Continuous Integration in .NET.
VisualSVN Server comes with a handy Management Console. Using this tool, you can easily organize your source control system, manage your repositories and users, organize them into groups, and issue rights to the repositories.
You can put users together in groups, as shown in figure 2.5.