code: public T getObject(String key) {
          if (this.objects.containsKey(key)) {
              return this.objects.get(key);
          }
          return null;
      }
docs: Gets the object registered by the given key, not a clone of the object
  
  @param key is the unique name by which objects are registered
  @return the object registered by the given key