All Swarm features are in the "swarm" Java package.
Globals is a class for accessing information about Swarm. It is not instantiated by the user; it is only used as a class. Inside Globals is the class variable "env" which holds an instance of SwarmEnvironment. Practically, what this means is that global objects are accessed like so:
Globals.env.globalZone