com.google.caliper
Class Scenario

java.lang.Object
  extended by com.google.caliper.Scenario
All Implemented Interfaces:
Serializable

public final class Scenario
extends Object
implements Serializable

A configured benchmark. WARNING: a JSON representation of this class is stored on the app engine server. If any changes are made to this class, a deserialization adapter must be written for this class to ensure backwards compatibility.

Gwt-safe.

See Also:
Serialized Form

Constructor Summary
Scenario(Map<String,String> variables)
           
 
Method Summary
 boolean equals(Object o)
           
 Map<String,String> getVariables()
           
 Map<String,String> getVariables(Set<String> names)
          Returns the named set of variables.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Scenario

public Scenario(Map<String,String> variables)
Method Detail

getVariables

public Map<String,String> getVariables()

getVariables

public Map<String,String> getVariables(Set<String> names)
Returns the named set of variables.


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 Google, Inc.. All Rights Reserved.