|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttcra.exercises.stack_reasoning_private.StackPrePushAssertion
public class StackPrePushAssertion
| 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 |
|---|
public StackPrePushAssertion()
| Method Detail |
|---|
public boolean check(java.util.List<MathType> l)
Assertion
check in interface Assertionl - list of values for the method arguments
true if the supplied values of the
method arguments hold to the assertion
false otherwisepublic java.lang.String toString()
toString in interface AssertiontoString in class java.lang.Objectpublic java.lang.String toString(java.util.List<MathType> l)
toString in interface Assertion
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||