tcra.driver
Class StackPrePushAssertion

java.lang.Object
  extended by tcra.driver.StackPrePushAssertion
All Implemented Interfaces:
Assertion

public class StackPrePushAssertion
extends java.lang.Object
implements Assertion


Constructor Summary
StackPrePushAssertion()
           
 
Method Summary
 boolean check(java.util.List<MathType> l)
          check determines whether the values entered by the user hold to this assertion.
 java.lang.String toString()
           
 java.lang.String toString(java.util.List<MathType> l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackPrePushAssertion

public StackPrePushAssertion()
Method Detail

check

public boolean check(java.util.List<MathType> l)
Description copied from interface: Assertion
check determines whether the values entered by the user hold to this assertion.

Specified by:
check in interface Assertion
Parameters:
l - list of values for the method arguments
Returns:
true if the supplied values of the method arguments hold to the assertion false otherwise

toString

public java.lang.String toString()
Specified by:
toString in interface Assertion
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.util.List<MathType> l)
Specified by:
toString in interface Assertion