Top Description Fields Constructors Methods
org.easymock.internal

public Class Results

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, java.util.ArrayList, .List

The results of a specific call on a mock. It's plural because a specific call can be called multiple times and so will return multiple results.
Author
OFFIS, Tammo Freese

Field Summary

Modifier and TypeField and Description
private int
private final List<Range>
private final List<Result>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(Result result, Range range)

public int
private Range
public boolean
public boolean
public Result
next()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

callCountback to summary
private int callCount
rangesback to summary
private final List<Range> ranges
resultsback to summary
private final List<Result> results
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

Resultsback to summary
public Results()

Method Detail

addback to summary
public void add(Result result, Range range)
getCallCountback to summary
public int getCallCount()
getMainIntervalback to summary
private Range getMainInterval()
hasResultsback to summary
public boolean hasResults()
hasValidCallCountback to summary
public boolean hasValidCallCount()
nextback to summary
public Result next()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override