class DecompositionFactory {

  public static Decomposition<?> getDecomposition(final String decompositionName) {
    final Decomposition<?> decomposition = s_staticInstances.get(decompositionName);
    if (decomposition != null) {
      return decomposition;
    }
    throw new IllegalArgumentException("Could not get decomposition " + decompositionName);
  }

  private  DecompositionFactory();

}