code: public void add(Orientation orientation, String group)
      {
          final Collection<String> groups = constraints.get(orientation);
          groups.add(group);
      }
docs: Add the group constraint at the specified orientation.
  
  @param orientation The orientation.
  @param group The group where constraint is applied.