code: public V put(ResourceType type, String poolGroupName, V value) {
      Map<String, V> poolGroupNameMap = typePoolGroupNameMap.get(type);
      if (poolGroupNameMap == null) {
        poolGroupNameMap = new HashMap<String, V>();
        typePoolGroupNameMap.put(type, poolGroupNameMap);
      }
      return poolGroupNameMap.put(poolGroupName, value);
    }
docs: Put the value with the appropriate keys
  
  @param type Resource type
  @param poolGroup Name of pool group
  @param value Value to put
  @return Previous value, can be null if wasn't set