All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.undefinedlabs.scope.tests.ParameterizedTestManager Maven / Gradle / Ivy

package com.undefinedlabs.scope.tests;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

public enum ParameterizedTestManager {
  INSTANCE;

  private final ConcurrentMap parameterized =
      new ConcurrentHashMap<>();

  public ParameterizedTestData put(
      final ParameterizedTestDataKey key, final ParameterizedTestData value) {
    return parameterized.put(key, value);
  }

  public ParameterizedTestData get(final ParameterizedTestDataKey key) {
    return parameterized.get(key);
  }

  public void remove(final ParameterizedTestDataKey key) {
    parameterized.remove(key);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy