com.google.caliper.runner
Class ParameterSet
java.lang.Object
com.google.caliper.runner.ParameterSet
public final class ParameterSet
- extends Object
Represents all the injectable parameter fields of a single kind (@Param or @VmParam) found in a
benchmark class. Has nothing to do with particular choices of values for these parameters
(except that it knows how to find the default values).
create
public static ParameterSet create(Class<? extends Benchmark> theClass,
Class<? extends Annotation> annotationClass)
throws InvalidBenchmarkException
- Throws:
InvalidBenchmarkException
names
public Set<String> names()
get
public Parameter get(String name)
fillInDefaultsFor
public com.google.common.collect.ImmutableSetMultimap<String,String> fillInDefaultsFor(com.google.common.collect.ImmutableSetMultimap<String,String> explicitValues)
injectAll
public void injectAll(Benchmark benchmark,
Map<String,String> actualValues)
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.