CardinalityGTZeroAssertion
Date: 2007-09-18

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## tcra.exercises.general_assertions
Class CardinalityGTZeroAssertion

    java.lang.Object
      tcra.exercises.general_assertions.CardinalityGTZeroAssertion

All Implemented Interfaces:
  Assertion

    public class CardinalityGTZeroAssertion

extends java.lang.Object
implements Assertion

Constructor Summary
`CardinalityGTZeroAssertion()`

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` | `toInstanceString(java.util.List<MathType> l)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### CardinalityGTZeroAssertion

    public CardinalityGTZeroAssertion()

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()

  Overrides:
    `toString` in class `java.lang.Object`

### toInstanceString

    public java.lang.String toInstanceString(java.util.List<MathType> l)

  Specified by:
    `toInstanceString` in interface `Assertion`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD